Exception: WebFinger::BadRequest

Inherits:
HttpError show all
Defined in:
lib/webfinger/exception.rb

Instance Attribute Summary

Attributes inherited from HttpError

#response, #status

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, response = nil) ⇒ BadRequest

Returns a new instance of BadRequest.



14
15
16
# File 'lib/webfinger/exception.rb', line 14

def initialize(message = nil, response = nil)
  super 400, message, response
end