lib/onix/product.rb in onix-0.6.0 vs lib/onix/product.rb in onix-0.7.0
- old
+ new
@@ -1,7 +1,10 @@
+# coding: utf-8
+
module ONIX
class Product
include ROXML
+ include ONIX::Common
xml_name "Product"
xml_accessor :record_reference, :from => "RecordReference"
xml_accessor :notification_type, :from => "NotificationType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit