Class: TwitPic::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/twitpic/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/twitpic/config.rb', line 3

def api_key
  @api_key
end

#consumer_keyObject

Returns the value of attribute consumer_key.



3
4
5
# File 'lib/twitpic/config.rb', line 3

def consumer_key
  @consumer_key
end

#consumer_secretObject

Returns the value of attribute consumer_secret.



3
4
5
# File 'lib/twitpic/config.rb', line 3

def consumer_secret
  @consumer_secret
end

#oauth_secretObject

Returns the value of attribute oauth_secret.



3
4
5
# File 'lib/twitpic/config.rb', line 3

def oauth_secret
  @oauth_secret
end

#oauth_tokenObject

Returns the value of attribute oauth_token.



3
4
5
# File 'lib/twitpic/config.rb', line 3

def oauth_token
  @oauth_token
end