examples/amazon.rb in happymapper-0.1.7 vs examples/amazon.rb in happymapper-0.2.0
- old
+ new
@@ -21,9 +21,9 @@
element :total_pages, Integer, :tag => 'TotalPages'
has_many :items, Item
end
end
-item = PITA::Items.parse(file_contents, :single => true, :use_default_namespace => true)
+item = PITA::Items.parse(file_contents, :single => true)
item.items.each do |i|
puts i.asin, i.detail_page_url, i.manufacturer, ''
end
\ No newline at end of file