Class: Amazon::AWS::SimilarityLookup
- Defined in:
- lib/amazon/aws.rb
Overview
Similarity look-up is for items similar to others.
Constant Summary
Constants inherited from Operation
Operation::ALL_PARAMETERS, Operation::OPERATIONS, Operation::OPT_PARAMETERS, Operation::PARAMETERS
Instance Attribute Summary
Attributes inherited from Operation
Instance Method Summary collapse
-
#initialize(asin, parameters = {}) ⇒ SimilarityLookup
constructor
Look up items similar to asin, which can be a single item or an array.
Methods inherited from Operation
Constructor Details
#initialize(asin, parameters = {}) ⇒ SimilarityLookup
Look up items similar to asin, which can be a single item or an array. parameters is a hash of parameters that serve to further refine the search.
Example:
sl = SimilarityLookup.new( 'B000051WBE' )
In the above example, we search for items similar to the one with ASIN B000051WBE.
1065 1066 1067 |
# File 'lib/amazon/aws.rb', line 1065 def initialize(asin, parameters={}) super( { 'ItemId' => asin.to_a.join( ',' ) }.merge( parameters ) ) end |