Class | Amazon::Product |
In: |
lib/amazon.rb
|
Parent: | Object |
Amazon::Product objects are returned by many of the basic forms of search in Amazon::Search::Request.
instance_variables | -> | properties |
This alias makes the ability to determine a product’s properties a little more intuitive. |
Fake the appearance of a product as a hash. key should be any attribute of the product, as returned by Amazon::Product#properties.
E.g.
puts product['our_price'] => "$8.99" puts product[:our_price] => "$8.99"