Exception: PadlockAuth::Errors::ResponseError
- Inherits:
-
PadlockAuthError
- Object
- StandardError
- PadlockAuthError
- PadlockAuth::Errors::ResponseError
- Defined in:
- lib/padlock_auth/errors.rb
Overview
An error with a HTTP response.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ResponseError
constructor
Initialize a new response error.
Constructor Details
#initialize(response) ⇒ ResponseError
Initialize a new response error.
16 17 18 |
# File 'lib/padlock_auth/errors.rb', line 16 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
11 12 13 |
# File 'lib/padlock_auth/errors.rb', line 11 def response @response end |