Class: ONIX2::SalesRestriction
- Inherits:
-
Object
- Object
- ONIX2::SalesRestriction
- Defined in:
- lib/onix2/sales_restriction.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xml(data) ⇒ Object
13 14 15 |
# File 'lib/onix2/sales_restriction.rb', line 13 def self.from_xml(data) SalesRestrictionRepresenter.new(self.new).from_xml(data) end |
Instance Method Details
#to_xml ⇒ Object
9 10 11 |
# File 'lib/onix2/sales_restriction.rb', line 9 def to_xml SalesRestrictionRepresenter.new(self).to_xml end |