Sha256: 3eb738b74a10583d0f458cb90cc4a66dbec3e59bfebb684fb8f7507c9c054237

Contents?: true

Size: 359 Bytes

Versions: 22

Compression:

Stored size: 359 Bytes

Contents

# coding: utf-8

module ONIX
  class Measure
    include ROXML

    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
    xml_accessor :measure_unit_code, :from => "MeasureUnitCode"
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
onix-0.9.5 lib/onix/measure.rb
onix-0.9.4 lib/onix/measure.rb
milkfarm-onix-0.8.13 lib/onix/measure.rb
milkfarm-onix-0.8.12 lib/onix/measure.rb
onix-0.9.3 lib/onix/measure.rb
onix-0.9.2 lib/onix/measure.rb
onix-0.9.1 lib/onix/measure.rb
milkfarm-onix-0.8.11 lib/onix/measure.rb
milkfarm-onix-0.8.10 lib/onix/measure.rb
onix-0.9.0 lib/onix/measure.rb
milkfarm-onix-0.8.9 lib/onix/measure.rb
milkfarm-onix-0.8.8 lib/onix/measure.rb
milkfarm-onix-0.8.7 lib/onix/measure.rb
onix-0.8.5 lib/onix/measure.rb
onix-0.8.4 lib/onix/measure.rb
milkfarm-onix-0.8.6 lib/onix/measure.rb
milkfarm-onix-0.8.5 lib/onix/measure.rb
onix-0.8.3 lib/onix/measure.rb
milkfarm-onix-0.8.3 lib/onix/measure.rb
onix-0.8.2 lib/onix/measure.rb