Class: ONIX2::Price
- Inherits:
-
Object
- Object
- ONIX2::Price
- Defined in:
- lib/onix2/price.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xml(data) ⇒ Object
24 25 26 |
# File 'lib/onix2/price.rb', line 24 def self.from_xml(data) PriceRepresenter.new(self.new).from_xml(data) end |
Instance Method Details
#to_xml ⇒ Object
20 21 22 |
# File 'lib/onix2/price.rb', line 20 def to_xml PriceRepresenter.new(self).to_xml end |