Exception: GoogleApiCustomization::Error
- Inherits:
-
StandardError
- Object
- StandardError
- GoogleApiCustomization::Error
- Defined in:
- lib/google_api_customization/errors.rb
Direct Known Subclasses
InvalidRequestError, NotFoundError, OverQueryLimitError, RequestDeniedError, RetryError, RetryTimeoutError, UnknownError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response) ⇒ Error
Returns a new instance of Error.
4 5 6 7 |
# File 'lib/google_api_customization/errors.rb', line 4 def initialize(response) @response = response super(response.parsed_response.to_s) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
3 4 5 |
# File 'lib/google_api_customization/errors.rb', line 3 def response @response end |