lib/verifly/dependent_callbacks.rb
def _export_callback_group_to_action_controller(group)
      raise unless group == :action

      around_action do |request, sequence|
        self.class.dependent_callbacks_service.invoke(group) do |invoker|
          invoker.context << request
          invoker.inner_block = sequence
          invoker.break_if { response_body }
          invoker.run(self)
        end
      end
    end
# Exports callbacks to ActionController::Base
# @see export_callbacks_to
# @param group [Symbol] name of group
Exports callbacks to ActionController::Base
Exports callbacks to ActionController :: Base
def _export_callback_group_to_action_controller(group)
      raise unless group == :action
      around_action do |request, sequence|
        self.class.dependent_callbacks_service.invoke(group) do |invoker|
          invoker.context << request
          invoker.inner_block = sequence
          invoker.break_if { response_body }
          invoker.run(self)
        end
      end
    end
def _export_callback_group_to_action_controller ( group ) raise unless group == :action around_action do | request , sequence | self . class . dependent_callbacks_service . invoke ( group ) do | invoker | invoker . context << request invoker . inner_block = sequence invoker . break_if { response_body } invoker . run ( self ) end end end
Exports callbacks to ActionController::Base
Exports callbacks to ActionController :: Base
group
name of group
name of group
see
None