Class: SearchImagesEditorial
- Inherits:
-
RequestBase
- Object
- RequestBase
- SearchImagesEditorial
- Defined in:
- lib/Search/SearchImagesEditorial.rb
Constant Summary collapse
- API_ROUTE =
"/v3/search/images/editorial"
- QUERY_PARAM_NAMES =
["age_of_people","artists","collection_codes","collections_filter_type","compositions","editorial_segments","embed_content_only","end_date","entity_uris","ethnicity", "event_ids","exclude_nudity","fields","file_types","graphical_styles","keyword_ids","minimum_quality_rank","minimum_size","number_of_people","orientations","page","page_size","phrase", "product_types","sort_order","specific_people","start_date"]
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
18 19 20 |
# File 'lib/Search/SearchImagesEditorial.rb', line 18 def execute return @http_helper.get(API_ROUTE, @query_params, @headers) end |