Class: ShutterstockRuby::Configuration
- Inherits:
-
Object
- Object
- ShutterstockRuby::Configuration
- Defined in:
- lib/shutterstock-ruby.rb
Overview
Main configuration class.
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#api_client ⇒ Object
Returns the value of attribute api_client.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 29 30 |
# File 'lib/shutterstock-ruby.rb', line 26 def initialize @access_token = nil @api_client = nil @api_secret = nil end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
22 23 24 |
# File 'lib/shutterstock-ruby.rb', line 22 def access_token @access_token end |
#api_client ⇒ Object
Returns the value of attribute api_client.
23 24 25 |
# File 'lib/shutterstock-ruby.rb', line 23 def api_client @api_client end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
24 25 26 |
# File 'lib/shutterstock-ruby.rb', line 24 def api_secret @api_secret end |