Class: ONIX2::OtherText

Inherits:
Object
  • Object
show all
Defined in:
lib/onix2/other_text.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_xml(data) ⇒ Object



18
19
20
# File 'lib/onix2/other_text.rb', line 18

def self.from_xml(data)
  OtherTextRepresenter.new(self.new).from_xml(data)
end

Instance Method Details

#to_xmlObject



14
15
16
# File 'lib/onix2/other_text.rb', line 14

def to_xml
  OtherTextRepresenter.new(self).to_xml
end