Class: ONIX2::Imprint

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_xml(data) ⇒ Object



16
17
18
# File 'lib/onix2/imprint.rb', line 16

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

Instance Method Details

#to_xmlObject



12
13
14
# File 'lib/onix2/imprint.rb', line 12

def to_xml
  ImprintRepresenter.new(self).to_xml
end