Class: Stratus::AWS::Response
- Inherits:
-
Object
- Object
- Stratus::AWS::Response
- Defined in:
- lib/stratus/aws/iam.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
23 24 25 26 27 28 29 |
# File 'lib/stratus/aws/iam.rb', line 23 def self.parse( = {}) = { :xml => '', :parse_options => { 'forcearray' => ['item', 'member'], 'suppressempty' => nil, 'keeproot' => false } }.merge() response = XmlSimple.xml_in([:xml], [:parse_options]) end |