lib/onix/product.rb in milkfarm-onix-0.8.11 vs lib/onix/product.rb in milkfarm-onix-0.8.12
- old
+ new
@@ -40,9 +40,11 @@
nil
end
end
xml_accessor :copyright_year, :from => "CopyrightYear", :as => Integer
xml_accessor :year_first_published, :from => "YearFirstPublished", :as => Fixnum
+ xml_accessor :sales_rights, :from => "SalesRights", :as => [ONIX::SalesRights]
+ xml_accessor :not_for_sales, :from => "NotForSale", :as => [ONIX::NotForSale]
xml_accessor :sales_restrictions, :from => "SalesRestriction", :as => [ONIX::SalesRestriction]
xml_accessor :measurements, :from => "Measure", :as => [ONIX::Measure]
xml_accessor :related_products, :from => "RelatedProduct", :as => [ONIX::RelatedProduct]
xml_accessor :supply_details, :from => "SupplyDetail", :as => [ONIX::SupplyDetail]
xml_accessor :market_representations, :from => "MarketRepresentation", :as => [ONIX::MarketRepresentation]