Class: GoogleGeocodeApi::Response
- Inherits:
-
Object
- Object
- GoogleGeocodeApi::Response
- Defined in:
- lib/google_geocode_api/response.rb
Overview
Response object formatted from Google API response
Instance Attribute Summary collapse
-
#raw_response ⇒ Object
readonly
Returns the value of attribute raw_response.
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(response) ⇒ Response
constructor
A new instance of Response.
Constructor Details
Instance Attribute Details
#raw_response ⇒ Object (readonly)
Returns the value of attribute raw_response.
6 7 8 |
# File 'lib/google_geocode_api/response.rb', line 6 def raw_response @raw_response end |
#results ⇒ Object (readonly)
Returns the value of attribute results.
6 7 8 |
# File 'lib/google_geocode_api/response.rb', line 6 def results @results end |