Class: Parser::CustomJSON
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- Parser::CustomJSON
- Defined in:
- lib/eloqua_api/client.rb
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
11 12 13 14 15 |
# File 'lib/eloqua_api/client.rb', line 11 def parse JSON.parse(body) if body rescue JSON::ParserError body end |