Class: CityGrid::Request
- Inherits:
-
Object
- Object
- CityGrid::Request
- Defined in:
- lib/city_grid/request.rb
Instance Method Summary collapse
-
#initialize(uri, request_opts = {}) ⇒ Request
constructor
A new instance of Request.
- #parsed_response ⇒ Object
Constructor Details
Instance Method Details
#parsed_response ⇒ Object
11 12 13 |
# File 'lib/city_grid/request.rb', line 11 def parsed_response JSON.parse(response) end |