Class: SearchVideos

Inherits:
RequestBase show all
Defined in:
lib/Search/SearchVideos.rb

Constant Summary collapse

API_ROUTE =
"/v3/search/videos"
QUERY_PARAM_NAMES =
["age_of_people","collection_codes","collections_filter_type","editorial_video_types","exclude_nudity","fields","format_available","frame_rates",
"keyword_ids","license_models","page","page_size","phrase","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

#executeObject



16
17
18
# File 'lib/Search/SearchVideos.rb', line 16

def execute
	return @http_helper.get(API_ROUTE, @query_params, @headers)			
end