Exception: SWD::Unauthorized

Inherits:
HttpError show all
Defined in:
lib/swd/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/swd/exception.rb', line 20

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