Module: Wrest::Components::Translators::Xml

Extended by:
Xml
Included in:
Xml
Defined in:
lib/wrest/components/translators/xml.rb

Instance Method Summary collapse

Instance Method Details

#deserialise(response) ⇒ Object



16
17
18
19
20
21
# File 'lib/wrest/components/translators/xml.rb', line 16

def deserialise(response)
  XmlSimple.xml_in(
  response.body,
  'keeproot'  => true
  )
end

#serialise(hash) ⇒ Object



23
24
# File 'lib/wrest/components/translators/xml.rb', line 23

def serialise(hash)
end