Class: VantivLite::XML::Ox::Serializer

Inherits:
Object
  • Object
show all
Includes:
Serializer
Defined in:
lib/vantiv_lite/xml/ox.rb

Constant Summary

Constants included from Serializer

Serializer::ATTRIBUTES

Instance Attribute Summary

Attributes included from Serializer

#attributes

Instance Method Summary collapse

Methods included from Serializer

coerce, #initialize

Instance Method Details

#call(hash) ⇒ Object



26
27
28
# File 'lib/vantiv_lite/xml/ox.rb', line 26

def call(hash)
  ::Ox.dump(add_xml_elements!(::Ox::Document.new(version: '1.0'), hash))
end