Class: EasyWeibo::Configuration
- Inherits:
-
Object
- Object
- EasyWeibo::Configuration
- Defined in:
- lib/easy_weibo/configuration.rb
Instance Attribute Summary collapse
-
#app_key ⇒ Object
Returns the value of attribute app_key.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
-
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_key ⇒ Object
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_secret ⇒ Object
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_uri ⇒ Object
Returns the value of attribute redirect_uri.
3 4 5 |
# File 'lib/easy_weibo/configuration.rb', line 3 def redirect_uri @redirect_uri end |