Sha256: 434cdded7869ef97996e63bb6b84561a51d1929e1f87764be8ae613ce655a1dc

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

module ONIX
  class Stock
    include ROXML

    xml_name "Stock"

    # NOTE: these *should* be numeric fields according to the spec,
    #       but heaps of ONIX files in the wild use text
    xml_accessor :on_hand, :from => "OnHand"
    xml_accessor :on_order, :from => "OnOrder"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
onix-0.5.0 lib/onix/stock.rb
onix-0.5.1 lib/onix/stock.rb
onix-0.6.0 lib/onix/stock.rb