Exception: Hookdeck::UnprocessableEntityError
- 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) ⇒ UnprocessableEntityError
constructor
A new instance of UnprocessableEntityError.
Constructor Details
#initialize(response) ⇒ UnprocessableEntityError
Returns a new instance of UnprocessableEntityError.
88 89 90 91 |
# File 'lib/hookdeck/errors.rb', line 88 def initialize(response) super @status = 422 end |