class Authz::Controllers::AuthorizationManager::MissingScopingInstance
Error that will be raised if the authorized method is not provided a scoping instance and the skip_scoping option is not used
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 30 def initialize(options = {}) @controller = options.fetch :controller @action = options.fetch :action msg = "#{controller}##{action}. Provide an instance to " \ 'perform authorization or use the skip_scoping option' super(msg) end