Module: Braintree::Xml

Defined in:
lib/braintree/xml.rb,
lib/braintree/xml/rexml.rb,
lib/braintree/xml/libxml.rb,
lib/braintree/xml/parser.rb,
lib/braintree/xml/generator.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Generator, Libxml, Parser, Rexml

Constant Summary

CONTENT_ROOT =
'__content__'

Class Method Summary (collapse)

Class Method Details

+ (Object) hash_from_xml(xml)



3
4
5
# File 'lib/braintree/xml.rb', line 3

def self.hash_from_xml(xml)
  Parser.hash_from_xml(xml)
end

+ (Object) hash_to_xml(hash)



7
8
9
# File 'lib/braintree/xml.rb', line 7

def self.hash_to_xml(hash)
  Generator.hash_to_xml(hash)
end