Sha256: cc282c2354224afb038700bec6e0521a93001f8a28014b0d7e768626047c51a6

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

# coding: utf-8

module ONIX
  class Stock
    include ROXML
    include ONIX::Common

    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

10 entries across 10 versions & 2 rubygems

Version Path
milkfarm-onix-0.7.7 lib/onix/stock.rb
onix-0.7.8 lib/onix/stock.rb
onix-0.7.7 lib/onix/stock.rb
onix-0.7.6 lib/onix/stock.rb
onix-0.7.5 lib/onix/stock.rb
onix-0.7.4 lib/onix/stock.rb
onix-0.7.2 lib/onix/stock.rb
onix-0.7.3 lib/onix/stock.rb
onix-0.7.0 lib/onix/stock.rb
onix-0.7.1 lib/onix/stock.rb