Class: SimpleAWS::SimpleAWSParser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- SimpleAWS::SimpleAWSParser
- Defined in:
- lib/simple_aws/core/connection.rb
Overview
Custom response parser to handle the various craziness of the AWS API
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'lib/simple_aws/core/connection.rb', line 40 def parse if supports_format? super elsif body && body.start_with?("<?xml") xml else body end end |