Class: ONIX2::Publisher
- Inherits:
-
Object
- Object
- ONIX2::Publisher
- Defined in:
- lib/onix2/publisher.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_xml(data) ⇒ Object
17 18 19 |
# File 'lib/onix2/publisher.rb', line 17 def self.from_xml(data) PublisherRepresenter.new(self.new).from_xml(data) end |
Instance Method Details
#to_xml ⇒ Object
13 14 15 |
# File 'lib/onix2/publisher.rb', line 13 def to_xml PublisherRepresenter.new(self).to_xml end |