Sha256: 88933cb8ee4204abaea2ffaf99dfe17f83befd3d3bd776b11d90bdee9ed7a3e4

Contents?: true

Size: 536 Bytes

Versions: 10

Compression:

Stored size: 536 Bytes

Contents

# coding: utf-8

module ONIX
  class Subject
    include ROXML
    include ONIX::Common

    xml_name "Subject"

    xml_accessor :subject_scheme_id,      :from => "SubjectSchemeIdentifier", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :subject_scheme_name,    :from => "SubjectSchemeName"
    xml_accessor :subject_scheme_version, :from => "SubjectSchemeVersion"
    xml_accessor :subject_code,           :from => "SubjectCode"
    xml_accessor :subject_heading_text,   :from => "SubjectHeadingText"
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
milkfarm-onix-0.7.7 lib/onix/subject.rb
onix-0.7.8 lib/onix/subject.rb
onix-0.7.7 lib/onix/subject.rb
onix-0.7.6 lib/onix/subject.rb
onix-0.7.5 lib/onix/subject.rb
onix-0.7.4 lib/onix/subject.rb
onix-0.7.2 lib/onix/subject.rb
onix-0.7.3 lib/onix/subject.rb
onix-0.7.0 lib/onix/subject.rb
onix-0.7.1 lib/onix/subject.rb