Sha256: e24029c6f1796a7ddc70edda88b1918936eb940bb2b485c47ab8f245f2a5b61d
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
module ONIX class Publisher include ROXML 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
onix-0.5.0 | lib/onix/publisher.rb |
onix-0.6.0 | lib/onix/publisher.rb |
onix-0.5.1 | lib/onix/publisher.rb |