Class: Amazon::AWS::BrowseNodeLookup

Inherits:
Operation
  • Object
show all
Defined in:
lib/ruby-paa/aws.rb

Overview

Amazon use browse nodes as a means of organising the millions of items in their inventory. An example might be *Carving Knives*. Looking up a browse node enables you to determine that group’s ancestors and descendants.

Constant Summary

Constants inherited from Operation

Operation::OPERATIONS

Instance Attribute Summary

Attributes inherited from Operation

#kind, #params, #response_group

Instance Method Summary collapse

Methods inherited from Operation

#batch, #query_parameters, #response_group_orig=

Constructor Details

#initialize(node, parameters = {}) ⇒ BrowseNodeLookup

Look up and return the details of an Amazon browse node. node is the browse node to look up and parameters is an optional hash of parameters that further refine the scope of the search. parameters is currently unused.

Example:

bnl = BrowseNodeLookup.new( '11232', {} )

In the above example, we look up the browse node with the ID 11232. This is the Social Sciences browse node.



1174
1175
1176
# File 'lib/ruby-paa/aws.rb', line 1174

def initialize(node, parameters={})
 super( { 'BrowseNodeId' => node }.merge( parameters ) )
end