Class: TwitPic::Config
- Inherits:
-
Object
- Object
- TwitPic::Config
- Defined in:
- lib/twitpic/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
-
#oauth_secret ⇒ Object
Returns the value of attribute oauth_secret.
-
#oauth_token ⇒ Object
Returns the value of attribute oauth_token.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
Setup the default configuration data.
Constructor Details
#initialize ⇒ Config
Setup the default configuration data
6 7 8 9 10 11 12 |
# File 'lib/twitpic/config.rb', line 6 def initialize @api_key = '' @consumer_key = '' @consumer_secret = '' @oauth_token = '' @oauth_secret = '' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/twitpic/config.rb', line 3 def api_key @api_key end |
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
3 4 5 |
# File 'lib/twitpic/config.rb', line 3 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
3 4 5 |
# File 'lib/twitpic/config.rb', line 3 def consumer_secret @consumer_secret end |
#oauth_secret ⇒ Object
Returns the value of attribute oauth_secret.
3 4 5 |
# File 'lib/twitpic/config.rb', line 3 def oauth_secret @oauth_secret end |
#oauth_token ⇒ Object
Returns the value of attribute oauth_token.
3 4 5 |
# File 'lib/twitpic/config.rb', line 3 def oauth_token @oauth_token end |