governator 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/governator/version.rb +1 -1
- data/lib/governator.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83849b1368c34a77c30164f2f862ccda8d7bc2e
|
4
|
+
data.tar.gz: 2af4ab9bb776e17a4455539aafeac5d68f4ffeb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfa0cdae74b49c0807e90b865e82811a32c490dc5d8c5299a3d22473faca6cc19a228a6c1e5bac0a71389c38af5d785fa67b5fc1959ba602d4ba2100650bc132
|
7
|
+
data.tar.gz: 0b003baed9cc21ac5aac09a92e83dd58835f3bbc94c3eb8005d786504889dbe063ca5a232ca41125e349ead6c60be2dc348304f085cbf2647d4a489cfe628a3a
|
data/lib/governator/version.rb
CHANGED
data/lib/governator.rb
CHANGED
@@ -46,6 +46,10 @@ class Governator
|
|
46
46
|
TwitterClient.config(&block)
|
47
47
|
end
|
48
48
|
|
49
|
+
def twitter_client
|
50
|
+
TwitterClient.client
|
51
|
+
end
|
52
|
+
|
49
53
|
def use_twitter=(boolean)
|
50
54
|
raise ArgumentError, 'value must be Boolean value' unless [true, false].include? boolean
|
51
55
|
@use_twitter = boolean
|