lib/onix/product.rb in onix-0.4.2 vs lib/onix/product.rb in onix-0.4.3
- old
+ new
@@ -24,9 +24,10 @@
xml_accessor :publication_date, :yyyymmdd, :from => "PublicationDate"
xml_accessor :year_first_published, :integer, :from => "YearFirstPublished"
xml_accessor :sales_restrictions, [ONIX::SalesRestriction], :from => "SalesRestriction"
xml_accessor :measurements, [ONIX::Measure], :from => "Measure"
xml_accessor :supply_details, [ONIX::SupplyDetail], :from => "SupplyDetail"
+ xml_accessor :market_representations, [ONIX::MarketRepresentation], :from => "MarketRepresentation"
# some deprecated attributes. Read only
# - See the measures array for the current way of specifying
# various measurements of the product
xml_reader :height, :decimal, :from => "Height"