Class: Rapa::Queries::ListItemsQuery

Inherits:
BaseQuery
  • Object
show all
Defined in:
lib/rapa/queries/list_items_query.rb

Constant Summary collapse

OPERATION =
"ItemLookup"

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

Constructor Details

This class inherits a constructor from Rapa::Queries::BaseQuery

Instance Method Details

#IdTypeString?

Returns:

  • (String, nil)


11
12
13
# File 'lib/rapa/queries/list_items_query.rb', line 11

def IdType
  options[:id_type]
end

#ItemIdString

Returns:

  • (String)


16
17
18
# File 'lib/rapa/queries/list_items_query.rb', line 16

def ItemId
  options[:item_ids].join(",")
end

#OperationObject

Note:

Override



21
22
23
# File 'lib/rapa/queries/list_items_query.rb', line 21

def Operation
  OPERATION
end

#SearchIndexString?

Returns:

  • (String, nil)


26
27
28
# File 'lib/rapa/queries/list_items_query.rb', line 26

def SearchIndex
  options[:search_index]
end