Module: OauthTwitter::Config

Defined in:
lib/oauth_twitter/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.consumer_keyObject

Returns the value of attribute consumer_key.



4
5
6
# File 'lib/oauth_twitter/config.rb', line 4

def consumer_key
  @consumer_key
end

.consumer_secretObject

Returns the value of attribute consumer_secret.



4
5
6
# File 'lib/oauth_twitter/config.rb', line 4

def consumer_secret
  @consumer_secret
end

.oauth_callbackObject

Returns the value of attribute oauth_callback.



4
5
6
# File 'lib/oauth_twitter/config.rb', line 4

def oauth_callback
  @oauth_callback
end

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



6
7
8
# File 'lib/oauth_twitter/config.rb', line 6

def setup
  yield self
end