lib/onix/measure.rb in onix-0.6.0 vs lib/onix/measure.rb in onix-0.7.0
- old
+ new
@@ -1,7 +1,10 @@
+# coding: utf-8
+
module ONIX
class Measure
include ROXML
+ include ONIX::Common
xml_name "Measure"
xml_accessor :measure_type_code, :from => "MeasureTypeCode", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
xml_accessor :measurement, :from => "Measurement", :as => BigDecimal