Module: IIPolicy::Callbacks

Extended by:
ActiveSupport::Concern
Includes:
ActiveSupport::Callbacks
Included in:
Base
Defined in:
lib/ii_policy/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#call(action) ⇒ Object



19
20
21
22
23
# File 'lib/ii_policy/callbacks.rb', line 19

def call(action)
  run_callbacks :call do
    super
  end
end

#call_all(action) ⇒ Object



13
14
15
16
17
# File 'lib/ii_policy/callbacks.rb', line 13

def call_all(action)
  run_callbacks :all do
    super
  end
end