Sha256: 68d32a4926c7262a0e2a6b6549797b0e6cc942e13170ac0be5bcfadf9c2248e2

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

# coding: utf-8

module ONIX
  class WorkIdentifier
    include ROXML
    extend ONIX::ListWriter
    include ONIX::Inflector
    
    xml_name "WorkIdentifier"
    
    xml_reader :work_id_type, :from => "WorkIDType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :id_type_name, :from => "IDTypeName"
    xml_accessor :id_value, :from => "IDValue"
    list_writer :work_id_type, :list => 16
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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