Class: Shutterstock::Configuration
- Inherits:
-
Object
- Object
- Shutterstock::Configuration
- Defined in:
- lib/client/configuration.rb
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token.
-
#api_url ⇒ String
The API url.
-
#client_id ⇒ String
The client id.
-
#client_secret ⇒ String
The client secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 |
# File 'lib/client/configuration.rb', line 15 def initialize @client_options = {} end |
Instance Attribute Details
#access_token ⇒ String
Returns The access token.
10 11 12 |
# File 'lib/client/configuration.rb', line 10 def access_token @access_token end |
#api_url ⇒ String
Returns The API url.
13 14 15 |
# File 'lib/client/configuration.rb', line 13 def api_url @api_url end |
#client_id ⇒ String
Returns The client id.
4 5 6 |
# File 'lib/client/configuration.rb', line 4 def client_id @client_id end |
#client_secret ⇒ String
Returns The client secret.
7 8 9 |
# File 'lib/client/configuration.rb', line 7 def client_secret @client_secret end |