Exception: WebFinger::Unauthorized

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) ⇒ Unauthorized

Returns a new instance of Unauthorized.



20
21
22
# File 'lib/webfinger/exception.rb', line 20

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