Class: Telesocial::Client::ResponseParser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- Telesocial::Client::ResponseParser
- Defined in:
- lib/telesocial/client.rb
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/telesocial/client.rb', line 13 def parse begin Hashie::Mash.new(Crack::JSON.parse(body).values.first) rescue body end end |