Exception: HookSniff::GoneError
- Defined in:
- lib/hooksniff/errors.rb
Overview
410 Gone
Instance Attribute Summary
Attributes inherited from ApiError
#code, #response_body, #response_headers
Instance Method Summary collapse
-
#initialize(response_headers: {}, response_body: nil) ⇒ GoneError
constructor
A new instance of GoneError.
Methods inherited from ApiError
Constructor Details
#initialize(response_headers: {}, response_body: nil) ⇒ GoneError
Returns a new instance of GoneError.
60 61 62 |
# File 'lib/hooksniff/errors.rb', line 60 def initialize(response_headers: {}, response_body: nil) super(code: 410, response_headers: response_headers, response_body: response_body) end |