Exception: Otto::ForbiddenError

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/otto/errors.rb

Overview

Forbidden (403) error

Use when the user is authenticated but lacks permission

Class Method Summary collapse

Class Method Details

.default_log_levelObject



62
63
64
# File 'lib/otto/errors.rb', line 62

def self.default_log_level
  :warn
end

.default_statusObject



58
59
60
# File 'lib/otto/errors.rb', line 58

def self.default_status
  403
end