Sha256: 8f5e29d69df828072b4bac2585470d5a1a415816e4070dd9448f57afdf31d561

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

module ONIX
  class Contributor
    include ROXML

    xml_accessor :sequence_number,      :from => "SequenceNumber"
    xml_accessor :contributor_role,     :from => "ContributorRole"
    xml_accessor :language_code,        :from => "LanguageCode"
    xml_accessor :sequence_number_within_role,  :from => "SequenceNumberWithinRole"
    xml_accessor :person_name,          :etext, :from => "PersonName"
    xml_accessor :person_name_inverted, :etext, :from => "PersonNameInverted"
    xml_accessor :titles_before_name,   :etext, :from => "TitlesBeforeName"
    xml_accessor :names_before_key,     :etext, :from => "NamesBeforeKey"
    xml_accessor :prefix_to_key,        :etext, :from => "PrefixToKey"
    xml_accessor :key_names,            :etext, :from => "KeyNames"
    xml_accessor :names_after_key,      :etext, :from => "NamesArterKey"
    xml_accessor :suffix_to_key,        :etext, :from => "SuffixToKey"
    xml_accessor :letters_after_names,  :etext, :from => "LettersAfterNames"
    xml_accessor :titles_after_names,   :etext, :from => "TitlesAfterNames"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
onix-0.4.0 lib/onix/contributor.rb
onix-0.4.2 lib/onix/contributor.rb
onix-0.4.3 lib/onix/contributor.rb
onix-0.4.4 lib/onix/contributor.rb
onix-0.4.5 lib/onix/contributor.rb