Class: ShutterstockRuby::Images
- Inherits:
-
Object
- Object
- ShutterstockRuby::Images
- Extended by:
- Connections
- Defined in:
- lib/shutterstock-ruby/images.rb
Overview
A class to hold all images related code.
Class Method Summary collapse
Methods included from Connections
Class Method Details
.search(query, options = {}) ⇒ Object
6 7 8 |
# File 'lib/shutterstock-ruby/images.rb', line 6 def self.search(query, = {}) JSON.parse(self.get('/images/search', { query: query }.merge())) end |