Sha256: 028513a5fd6f0540af7b10fdffc021980406b6c9f26f96fe43528e62a62c6bfa

Contents?: true

Size: 762 Bytes

Versions: 4

Compression:

Stored size: 762 Bytes

Contents

# coding: utf-8

class Cacofonix::OtherText < Cacofonix::Element
  xml_name "OtherText"
  onix_code_from_list :text_type_code, "TextTypeCode", :list => 33
  onix_code_from_list :text_format, "TextFormat", :list => 34
  xml_accessor :text_format, :from => "TextFormat"
  xml_accessor :text, :from => "Text"
  onix_code_from_list :text_link_type, "TextLinkType", :list => 35
  xml_accessor :text_link, :from => "TextLink"
  xml_accessor :text_author, :from => "TextAuthor"
  xml_accessor :text_source_corporate, :from => "TextSourceCorporate"
  xml_accessor :text_source_title, :from => "TextSourceTitle"
  onix_date_accessor :text_publication_date, "TextPublicationDate"
  onix_date_accessor :start_date, "StartDate"
  onix_date_accessor :end_date, "EndDate"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cacofonix-0.10.3 lib/cacofonix/elements/other_text.rb
cacofonix-0.10.2 lib/cacofonix/elements/other_text.rb
cacofonix-0.10.1 lib/cacofonix/elements/other_text.rb
cacofonix-0.10.0 lib/cacofonix/elements/other_text.rb