Class: ONIX2::Header
- Inherits:
-
Object
- Object
- ONIX2::Header
- Defined in:
- lib/onix2/header.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xml(data) ⇒ Object
35 36 37 |
# File 'lib/onix2/header.rb', line 35 def self.from_xml(data) HeaderRepresenter.new(self.new).from_xml(data) end |
Instance Method Details
#to_xml ⇒ Object
31 32 33 |
# File 'lib/onix2/header.rb', line 31 def to_xml HeaderRepresenter.new(self).to_xml end |