Exception: GoogleMaps::Services::Exceptions::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- GoogleMaps::Services::Exceptions::APIError
- Defined in:
- lib/googlemaps/services/exceptions.rb
Overview
Represents an error raised by the remote API.
Instance Attribute Summary collapse
-
#status ⇒ Symbol
The response status code.
Instance Method Summary collapse
-
#initialize(status) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(status) ⇒ APIError
Returns a new instance of APIError.
13 14 15 |
# File 'lib/googlemaps/services/exceptions.rb', line 13 def initialize(status) self.status = status end |
Instance Attribute Details
#status ⇒ Symbol
Returns The response status code.
11 12 13 |
# File 'lib/googlemaps/services/exceptions.rb', line 11 def status @status end |