Class: ONIX2::SupplyDetail

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_xml(data) ⇒ Object



27
28
29
# File 'lib/onix2/supply_detail.rb', line 27

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

Instance Method Details

#to_xmlObject



23
24
25
# File 'lib/onix2/supply_detail.rb', line 23

def to_xml
  SupplyDetailRepresenter.new(self).to_xml
end