Exception: SWD::Forbidden

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

Returns a new instance of Forbidden.



26
27
28
# File 'lib/swd/exception.rb', line 26

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