class Caprese::ActionForbiddenError
Thrown when an action that is forbidden was attempted
Public Class Methods
new()
click to toggle source
Calls superclass method
Caprese::Error::new
# File lib/caprese/errors.rb, line 69 def initialize super code: :forbidden @header = { status: :forbidden } end