Class: ONIX2::AddresseeIdentifier

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_xml(data) ⇒ Object



15
16
17
# File 'lib/onix2/addressee_identifier.rb', line 15

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

Instance Method Details

#to_xmlObject



11
12
13
# File 'lib/onix2/addressee_identifier.rb', line 11

def to_xml
  AddresseeIdentifierRepresenter.new(self).to_xml
end