Class: Rapa::Queries::SearchItemsQuery
Constant Summary
collapse
- SEARCH_INDEX_DEFAULT =
"All"
- OPERATION =
"ItemSearch"
Constants inherited
from BaseQuery
BaseQuery::SERVICE, BaseQuery::VERSION
Instance Method Summary
collapse
Methods inherited from BaseQuery
#AWSAccessKeyId, #AssociateTag, #RelatedItemPage, #RelationshipType, #ResponseGroup, #Service, #Timestamp, #Version, inherited, #initialize, #inspect, property, #to_hash, #to_s
Instance Method Details
#BrowseNode ⇒ String?
14
15
16
17
18
|
# File 'lib/rapa/queries/search_items_query.rb', line 14
def BrowseNode
if options[:browse_node_id]
options[:browse_node_id].to_s
end
end
|
#ItemPage ⇒ String?
21
22
23
24
25
|
# File 'lib/rapa/queries/search_items_query.rb', line 21
def ItemPage
if options[:item_page]
options[:item_page].to_s
end
end
|
#Keywords ⇒ String?
28
29
30
31
32
|
# File 'lib/rapa/queries/search_items_query.rb', line 28
def Keywords
if options[:keywords] && options[:keywords].any?
options[:keywords].join(",")
end
end
|
#Operation ⇒ Object
35
36
37
|
# File 'lib/rapa/queries/search_items_query.rb', line 35
def Operation
OPERATION
end
|
#Power ⇒ String?
40
41
42
|
# File 'lib/rapa/queries/search_items_query.rb', line 40
def Power
options[:power]
end
|
#SearchIndex ⇒ String
45
46
47
|
# File 'lib/rapa/queries/search_items_query.rb', line 45
def SearchIndex
options[:search_index] || SEARCH_INDEX_DEFAULT
end
|