Class: Chargify::Parser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- Chargify::Parser
- Defined in:
- lib/chargify/parser.rb
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/chargify/parser.rb', line 4 def parse begin Crack::JSON.parse(body) rescue => e raise(Chargify::Error::UnexpectedResponse.new(e.), body) end end |