Exception: HookSniff::NotImplementedError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/hooksniff/errors.rb

Overview

501 Not Implemented

Instance Attribute Summary

Attributes inherited from ApiError

#code, #response_body, #response_headers

Instance Method Summary collapse

Methods inherited from ApiError

#message, #to_s

Constructor Details

#initialize(response_headers: {}, response_body: nil) ⇒ NotImplementedError

Returns a new instance of NotImplementedError.



101
102
103
# File 'lib/hooksniff/errors.rb', line 101

def initialize(response_headers: {}, response_body: nil)
  super(code: 501, response_headers: response_headers, response_body: response_body)
end