class Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError
Error that will be raised if a controller action has not called the `authorize` or `skip_authorization` methods.
Attributes
action[R]
controller[R]
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/authz/controllers/authorization_manager.rb, line 17 def initialize(options = {}) @controller = options.fetch :controller @action = options.fetch :action msg = "#{controller}##{action} is missing authorization." super(msg) end