struct

Noir::RailsCallbackChain::Resolution

Inherits Struct < Value < Object

The callbacks left active for an action, in registration order, the files of the classes/modules it passed through, nearest first (where Ruby looks a callback's def up), and the active callbacks registered under an if: condition (see conditional?), and the active callbacks a skip_before_action ..., if: / unless: lifts on a condition, with that condition's text, and the CanCanCan authorize_resource / load_and_authorize_resource statements left active for the action, and the class macros (requires_login) the class's own body calls for the action, which may set what a callback reads off self.class.

Constructors

new(callbacks : Array(String), paths : Array(String), conditional : Set(String), lifted : Hash(String, String) = Hash(String, String).new, cancan : Array(String) = [] of String, settings : Set(String) = Set(String).new)
Source

Instance methods

callbacks
cancan
clone
Source
conditional
copy_with(callbacks _callbacks = @callbacks, paths _paths = @paths, conditional _conditional = @conditional, lifted _lifted = @lifted, cancan _cancan = @cancan, settings _settings = @settings)
Source
lifted
paths
settings