Class: Metalbird::Authenticator::Twitter

Inherits:
Object
  • Object
show all
Defined in:
lib/metalbird/authenticators/twitter.rb

Instance Method Summary collapse

Constructor Details

#initialize(oauth_url) ⇒ Twitter

Returns a new instance of Twitter


12
13
14
# File 'lib/metalbird/authenticators/twitter.rb', line 12

def initialize(oauth_url)
  @oauth_url = oauth_url
end

Instance Method Details

#authenticateObject


16
17
18
19
20
# File 'lib/metalbird/authenticators/twitter.rb', line 16

def authenticate
  set_consumer_keys
  set_access_tokens
  puts_authentication_information
end