Class: ShutterstockRuby::Client
- Inherits:
-
Object
- Object
- ShutterstockRuby::Client
- Defined in:
- lib/shutterstock-ruby.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#images ⇒ Object
readonly
Returns the value of attribute images.
-
#videos ⇒ Object
readonly
Returns the value of attribute videos.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(args = {}) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 |
# File 'lib/shutterstock-ruby.rb', line 24 def initialize(args = {}) @configuration = Configuration.new(args) @videos = Videos.new(configuration) @images = Images.new(configuration) end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
22 23 24 |
# File 'lib/shutterstock-ruby.rb', line 22 def configuration @configuration end |
#images ⇒ Object (readonly)
Returns the value of attribute images.
22 23 24 |
# File 'lib/shutterstock-ruby.rb', line 22 def images @images end |
#videos ⇒ Object (readonly)
Returns the value of attribute videos.
22 23 24 |
# File 'lib/shutterstock-ruby.rb', line 22 def videos @videos end |