| Module | ActiveResource::Formats::XmlFormat |
| In: |
vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb
|
# File vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb, line 18
18: def decode(xml)
19: from_xml_data(Hash.from_xml(xml))
20: end
# File vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb, line 14
14: def encode(hash)
15: hash.to_xml
16: end
# File vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb, line 6 6: def extension 7: "xml" 8: end