Sha256: ed8b3b45f6052e9ba0c0f05a38b446ac1a8deb5f7e0d45b0368381b1571b003e

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

# coding: utf-8

module ONIX
  class ProductIdentifier
    include ROXML
    extend ONIX::ListWriter
    include ONIX::Inflector

    xml_name "ProductIdentifier"

    xml_reader :product_id_type, :from => "ProductIDType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :id_value, :from => "IDValue"
    list_writer :product_id_type, :list => 5
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
milkfarm-onix-0.8.13 lib/onix/product_identifier.rb
milkfarm-onix-0.8.12 lib/onix/product_identifier.rb
milkfarm-onix-0.8.11 lib/onix/product_identifier.rb
milkfarm-onix-0.8.10 lib/onix/product_identifier.rb