Class: ShutterstockRuby::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/shutterstock-ruby.rb

Overview

Main configuration class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_tokenObject

Returns the value of attribute access_token.



22
23
24
# File 'lib/shutterstock-ruby.rb', line 22

def access_token
  @access_token
end

#api_clientObject

Returns the value of attribute api_client.



23
24
25
# File 'lib/shutterstock-ruby.rb', line 23

def api_client
  @api_client
end

#api_secretObject

Returns the value of attribute api_secret.



24
25
26
# File 'lib/shutterstock-ruby.rb', line 24

def api_secret
  @api_secret
end