Exception: Doze::ForbiddenError

Inherits:
ClientError show all
Defined in:
lib/doze/error.rb

Instance Attribute Summary

Attributes inherited from Error

#headers, #http_status

Instance Method Summary collapse

Methods inherited from Error

#backtrace

Constructor Details

#initialize(reason = 'forbidden') ⇒ ForbiddenError

Returns a new instance of ForbiddenError.



56
57
58
# File 'lib/doze/error.rb', line 56

def initialize(reason='forbidden')
  super(Doze::Utils::STATUS_FORBIDDEN, reason)
end