Sha256: 56986466ef00a4695908456003848c050bb2186d7542107d8bfd5dec89f3a897

Contents?: true

Size: 1.18 KB

Versions: 22

Compression:

Stored size: 1.18 KB

Contents

# coding: utf-8

module ONIX
  class Contributor
    include ROXML

    xml_name "Contributor"

    xml_accessor :sequence_number,      :from => "SequenceNumber", :as => Fixnum
    xml_accessor :contributor_role,     :from => "ContributorRole"
    xml_accessor :language_code,        :from => "LanguageCode"
    xml_accessor :sequence_number_within_role,  :from => "SequenceNumberWithinRole", :as => Fixnum
    xml_accessor :person_name,          :from => "PersonName"
    xml_accessor :person_name_inverted, :from => "PersonNameInverted"
    xml_accessor :titles_before_names,  :from => "TitlesBeforeNames"
    xml_accessor :names_before_key,     :from => "NamesBeforeKey"
    xml_accessor :prefix_to_key,        :from => "PrefixToKey"
    xml_accessor :key_names,            :from => "KeyNames"
    xml_accessor :names_after_key,      :from => "NamesArterKey"
    xml_accessor :suffix_to_key,        :from => "SuffixToKey"
    xml_accessor :letters_after_names,  :from => "LettersAfterNames"
    xml_accessor :titles_after_names,   :from => "TitlesAfterNames"
    xml_accessor :corporate_name,       :from => "CorporateName"
    xml_accessor :biographical_note,    :from => "BiographicalNote"
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
onix-0.9.5 lib/onix/contributor.rb
onix-0.9.4 lib/onix/contributor.rb
milkfarm-onix-0.8.13 lib/onix/contributor.rb
milkfarm-onix-0.8.12 lib/onix/contributor.rb
onix-0.9.3 lib/onix/contributor.rb
onix-0.9.2 lib/onix/contributor.rb
onix-0.9.1 lib/onix/contributor.rb
milkfarm-onix-0.8.11 lib/onix/contributor.rb
milkfarm-onix-0.8.10 lib/onix/contributor.rb
onix-0.9.0 lib/onix/contributor.rb
milkfarm-onix-0.8.9 lib/onix/contributor.rb
milkfarm-onix-0.8.8 lib/onix/contributor.rb
milkfarm-onix-0.8.7 lib/onix/contributor.rb
onix-0.8.5 lib/onix/contributor.rb
onix-0.8.4 lib/onix/contributor.rb
milkfarm-onix-0.8.6 lib/onix/contributor.rb
milkfarm-onix-0.8.5 lib/onix/contributor.rb
onix-0.8.3 lib/onix/contributor.rb
milkfarm-onix-0.8.3 lib/onix/contributor.rb
onix-0.8.2 lib/onix/contributor.rb