Module: Cardflex::Xml

Defined in:
lib/cardflex/xml.rb,
lib/cardflex/xml/parser.rb,
lib/cardflex/xml/serializer.rb

Defined Under Namespace

Modules: Parser, Serializer

Class Method Summary collapse

Class Method Details

.hash_to_xml(hash) ⇒ Object



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

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

.parse(xml) ⇒ Object



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

def self.parse(xml)
  Parser.xml_to_hash(xml)
end