Class: EasyWeibo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/easy_weibo/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/easy_weibo/configuration.rb', line 5

def initialize
  @app_key = ""
  @app_secret = ""
  @redirect_uri = ""
end

Instance Attribute Details

#app_keyObject

Returns the value of attribute app_key.



3
4
5
# File 'lib/easy_weibo/configuration.rb', line 3

def app_key
  @app_key
end

#app_secretObject

Returns the value of attribute app_secret.



3
4
5
# File 'lib/easy_weibo/configuration.rb', line 3

def app_secret
  @app_secret
end

#redirect_uriObject

Returns the value of attribute redirect_uri.



3
4
5
# File 'lib/easy_weibo/configuration.rb', line 3

def redirect_uri
  @redirect_uri
end