Class: AWS::Response
- Inherits:
-
Object
- Object
- AWS::Response
- Defined in:
- lib/AWS/responses.rb
Class Method Summary collapse
-
.parse(options = {}) ⇒ Hash
Parse the XML response from AWS.
Class Method Details
.parse(options = {}) ⇒ Hash
Parse the XML response from AWS
10 11 12 13 14 15 16 |
# File 'lib/AWS/responses.rb', line 10 def self.parse( = {}) = { :xml => "", :parse_options => { 'forcearray' => ['item', 'member'], 'suppressempty' => nil, 'keeproot' => false } }.merge() response = XmlSimple.xml_in([:xml], [:parse_options]) end |