Sha256: 7c329d52488573435c437d2a5ae3976a8ce7db8685b0082ad7ee8f5bc40dfd50

Contents?: true

Size: 567 Bytes

Versions: 10

Compression:

Stored size: 567 Bytes

Contents

# coding: utf-8

module ONIX
  class Publisher
    include ROXML
    include ONIX::Common

    xml_name "Publisher"

    xml_accessor :publishing_role,      :from => "PublishingRole", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :name_code_type,       :from => "NameCodeType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :name_code_type_name,  :from => "NameCodeTypeName"
    xml_accessor :name_code_type_value, :from => "NameCodeTypeValue"
    xml_accessor :publisher_name,       :from => "PublisherName"
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

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