Class: A2WS::Item

Inherits:
Object
  • Object
show all
Includes:
Methodize
Defined in:
lib/a2ws/item.rb

Instance Attribute Summary

Attributes included from Methodize

#data_hash

Instance Method Summary collapse

Methods included from Methodize

#initialize, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Methodize

Instance Method Details

#imagesObject



11
12
13
# File 'lib/a2ws/item.rb', line 11

def images
  ImageSearch.find(@data_hash["asin"])
end

#item_attributesObject



7
8
9
# File 'lib/a2ws/item.rb', line 7

def item_attributes
  ItemAttributes.new @data_hash["item_attributes"]
end