Class: ONIX2::Measure
- Inherits:
-
Object
- Object
- ONIX2::Measure
- Defined in:
- lib/onix2/measure.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xml(data) ⇒ Object
15 16 17 |
# File 'lib/onix2/measure.rb', line 15 def self.from_xml(data) MeasureRepresenter.new(self.new).from_xml(data) end |
Instance Method Details
#to_xml ⇒ Object
11 12 13 |
# File 'lib/onix2/measure.rb', line 11 def to_xml MeasureRepresenter.new(self).to_xml end |