Class: GoogleGeocodings::RequestDeniedError
- Inherits:
-
HTTParty::ResponseError
- Object
- HTTParty::ResponseError
- GoogleGeocodings::RequestDeniedError
- Defined in:
- lib/google_geocodings/request_denied_error.rb
Overview
Thrown when a request was denied by the server
This can be the case when:
-
API key is not authorized for the Geocodings API
-
querying the SPOT_LIST_URL without the following parameters:
-
key
-
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/google_geocodings/request_denied_error.rb', line 9 def to_s response.parsed_response['error_message'] end |