Module: Interactor::Organizer::InstanceMethods

Defined in:
lib/interactor/organizer.rb

Overview

Internal: Interactor::Organizer instance methods.

Instance Method Summary collapse

Instance Method Details

#callObject

Internal: Invoke the organized Interactors. An Interactor::Organizer is expected not to define its own “#call” method in favor of this default implementation.

Returns nothing.



77
78
79
80
81
# File 'lib/interactor/organizer.rb', line 77

def call
  self.class.organized.each do |interactor|
    interactor.call!(context)
  end
end