lib/onix/contributor.rb in onix-0.6.0 vs lib/onix/contributor.rb in onix-0.7.0
- old
+ new
@@ -1,17 +1,20 @@
+# coding: utf-8
+
module ONIX
class Contributor
include ROXML
+ include ONIX::Common
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_name, :from => "TitlesBeforeName"
+ 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"