lib/cafepress/search/product.rb in cafepress-search-1.0.2 vs lib/cafepress/search/product.rb in cafepress-search-1.1.0

- old
+ new

@@ -4,14 +4,21 @@ module Search class Product include HappyMapper tag 'product' + attribute :id, Integer, :tag => 'productNumber' attribute :merchandise_id, Integer, :tag => 'productTypeNumber' attribute :merchandise_name, String, :tag => 'item' attribute :price, String - attribute :id, Integer, :tag => 'productNumber' + attribute :marketplace_price, String, :tag => 'marketplacePrice' + attribute :caption, String + attribute :seller_description, String, :tag => 'sellerDescription' attribute :thumbnail_url, String, :tag => 'thumbnailUrl' attribute :detail_page_url, String, :tag => 'marketplaceUrl' + attribute :store_name, String, :tag => 'storeName' + attribute :store_url, String, :tag => 'storeUrl' + attribute :parent_section_name, String, :tag => 'parentSectionName' + attribute :parent_section_url, String, :tag => 'parentSectionUrl' end end end