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