lib/onix/title.rb in onix-0.6.0 vs lib/onix/title.rb in onix-0.7.0
- old
+ new
@@ -1,12 +1,17 @@
+# coding: utf-8
+
module ONIX
class Title
include ROXML
+ include ONIX::Common
xml_name "Title"
xml_accessor :title_type, :from => "TitleType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
xml_accessor :title_text, :from => "TitleText"
+ xml_accessor :title_prefix, :from => "TitlePrefix"
+ xml_accessor :title_without_prefix, :from => "TitleWithoutPrefix"
xml_accessor :subtitle, :from => "Subtitle"
end
end