Exception: GoogleMapsService::Error::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- GoogleMapsService::Error::BaseError
- Defined in:
- lib/google_maps_service/errors.rb
Overview
Base error, capable of wrapping another
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ BaseError
constructor
A new instance of BaseError.
Constructor Details
#initialize(response) ⇒ BaseError
Returns a new instance of BaseError.
7 8 9 |
# File 'lib/google_maps_service/errors.rb', line 7 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
5 6 7 |
# File 'lib/google_maps_service/errors.rb', line 5 def response @response end |