lib/onix/sales_restriction.rb in onix-0.4.7 vs lib/onix/sales_restriction.rb in onix-0.5.0

- old
+ new

@@ -1,7 +1,9 @@ module ONIX class SalesRestriction include ROXML - xml_accessor :sales_restriction_type, :twodigit, :from =>"SalesRestrictionType" + xml_name "SalesRestriction" + + xml_accessor :sales_restriction_type, :from =>"SalesRestrictionType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit end end