Sha256: 67cacd4f0f45df1507372cff8d0e8b3b4e6d225be113f728d385320e1a1afd5c

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

module ONIX
  class ProductIdentifier
    include ROXML

    xml_name "ProductIdentifier"

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

Version data entries

3 entries across 3 versions & 1 rubygems

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