Class: SearchImages
- Inherits:
-
RequestBase
- Object
- RequestBase
- SearchImages
- Defined in:
- lib/Search/SearchImages.rb
Constant Summary collapse
- API_ROUTE =
mashery endpoint
"/v3/search/images"
- QUERY_PARAM_NAMES =
["age_of_people","artists","collection_codes","collections_filter_type","color","compositions","embed_content_only","ethnicity","event_ids","exclude_nudity","fields", "file_types","graphical_styles","keyword_ids","minimum_size","number_of_people","orientations","page","page_size","phrase","prestige_content_only","product_types", "sort_order","specific_people"]
Instance Attribute Summary
Attributes inherited from RequestBase
#headers, #http_helper, #query_params
Instance Method Summary collapse
Methods inherited from RequestBase
#initialize, #with_accept_language, #with_custom_header, #with_custom_parameter
Constructor Details
This class inherits a constructor from RequestBase
Instance Method Details
#execute ⇒ Object
17 18 19 |
# File 'lib/Search/SearchImages.rb', line 17 def execute return @http_helper.get(API_ROUTE, @query_params, @headers) end |