Exception: Hookdeck::UnauthorizedError
- Defined in:
- lib/hookdeck/errors.rb
Instance Attribute Summary
Attributes inherited from ApiError
#data, #handled, #message, #request_id, #response, #status
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(response) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Constructor Details
#initialize(response) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
67 68 69 70 |
# File 'lib/hookdeck/errors.rb', line 67 def initialize(response) super @status = 401 end |