Module: Twitter::Authenticatable
Instance Method Summary (collapse)
-
- (Hash) credentials
Credentials hash.
-
- (Boolean) credentials?
Check whether credentials are present.
Instance Method Details
- (Hash) credentials
Credentials hash
7 8 9 10 11 12 13 14 |
# File 'lib/twitter/authenticatable.rb', line 7 def credentials { :consumer_key => consumer_key, :consumer_secret => consumer_secret, :token => oauth_token, :token_secret => oauth_token_secret, } end |
- (Boolean) credentials?
Check whether credentials are present
19 20 21 |
# File 'lib/twitter/authenticatable.rb', line 19 def credentials? credentials.values.all? end |