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



69
70
71
# File 'lib/otto/errors.rb', line 69

def self.default_log_level
  :warn
end

.default_statusObject



65
66
67
# File 'lib/otto/errors.rb', line 65

def self.default_status
  403
end