Class: EventMachine::Smsified::JSONify
- Inherits:
-
Object
- Object
- EventMachine::Smsified::JSONify
- Defined in:
- lib/em-smsified/response.rb
Overview
Used by em-http-request to parse the JSON coming in
Instance Method Summary collapse
Instance Method Details
#response(resp) ⇒ Object
20 21 22 |
# File 'lib/em-smsified/response.rb', line 20 def response(resp) resp.response = ResponseProxy.new(Yajl::Parser.parse(resp.response), resp.response) end |