Class: Grackle::Handlers::JSONHandler
- Inherits:
-
Object
- Object
- Grackle::Handlers::JSONHandler
- Defined in:
- lib/grackle/handlers.rb
Overview
Decodes JSON Twitter API responses
Instance Method Summary collapse
Instance Method Details
#decode_response(res) ⇒ Object
13 14 15 16 |
# File 'lib/grackle/handlers.rb', line 13 def decode_response(res) json_result = JSON.parse(res) load_recursive(json_result) end |