lib/verifly/dependent_callbacks/invoker.rb
def call_callback(callback, sequence)
        log!(:debug, "Invokation", callback: callback)

        case callback.position
        when :before then call_callback_before(callback, sequence)
        when :after then call_callback_after(callback, sequence)
        when :around then call_callback_around(callback, sequence)
        end

        nil
      end
# Invokes callback in context of invoker
# @param callback [Callback] current callbacks
# @param sequence [Proc] already built sequence of callbacks
Invokes callback in context of invoker
Invokes callback in context of invoker
def call_callback(callback, sequence)
        log!(:debug, "Invokation", callback: callback)
        case callback.position
        when :before then call_callback_before(callback, sequence)
        when :after then call_callback_after(callback, sequence)
        when :around then call_callback_around(callback, sequence)
        end
        nil
      end
def call_callback ( callback , sequence ) log! ( :debug , "Invokation" , callback : callback ) case callback . position when :before then call_callback_before ( callback , sequence ) when :after then call_callback_after ( callback , sequence ) when :around then call_callback_around ( callback , sequence ) end nil end
Invokes callback in context of invoker
Invokes callback in context of invoker
callback
None
sequence
already built sequence of callbacks
already built sequence of callbacks