Sha256: 623c5eae26afa620c07af9803d1e92e76b1f1017e1b8b8440f7f9adb9d8c1ac1

Contents?: true

Size: 311 Bytes

Versions: 22

Compression:

Stored size: 311 Bytes

Contents

# coding: utf-8

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

22 entries across 22 versions & 2 rubygems

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