Skip to content

Commit

Permalink
Handle BISAC main subject category (PR.13.1)
Browse files Browse the repository at this point in the history
* suggested by tim
  • Loading branch information
yob committed Oct 17, 2010
1 parent 58bcc98 commit e881977
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/onix/product.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Product
xml_accessor :edition_number, :from => "EditionNumber", :as => Fixnum
xml_accessor :languages, :from => "Language", :as => [ONIX::Language]
xml_accessor :number_of_pages, :from => "NumberOfPages", :as => Fixnum
xml_accessor :basic_main_subject, :from => "BASICMainSubject"
xml_accessor :bic_main_subject, :from => "BICMainSubject"
xml_accessor :subjects, :from => "Subject", :as => [ONIX::Subject]
xml_accessor :audience_code, :from => "AudienceCode", :to_xml => ONIX::Formatters.two_digit
Expand Down

0 comments on commit e881977

Please sign in to comment.