Class: ONIX2::Subject
- Inherits:
-
Object
- Object
- ONIX2::Subject
- Defined in:
- lib/onix2/subject.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xml(data) ⇒ Object
17 18 19 |
# File 'lib/onix2/subject.rb', line 17 def self.from_xml(data) SubjectRepresenter.new(self.new).from_xml(data) end |
Instance Method Details
#to_xml ⇒ Object
13 14 15 |
# File 'lib/onix2/subject.rb', line 13 def to_xml SubjectRepresenter.new(self).to_xml end |