Method: ActiveResource::Formats::XmlFormat#decode
- Defined in:
- lib/active_resource/formats/xml_format.rb
#decode(xml) ⇒ Object
22 23 24 |
# File 'lib/active_resource/formats/xml_format.rb', line 22 def decode(xml) Formats.remove_root(Hash.from_xml(xml)) end |