Module: ActiveInteractor::Organizer::Callbacks

Included in:
Base
Defined in:
lib/active_interactor/organizer/callbacks.rb

Overview

Organizer callback methods. Because Callbacks is a module classes should include Callbacks rather than inherit from it.

See Also:

Author:

Since:

  • 1.0.0

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Since:

  • 1.0.0



268
269
270
271
272
# File 'lib/active_interactor/organizer/callbacks.rb', line 268

def self.included(base)
  base.class_eval do
    define_callbacks :each_perform, :all_perform
  end
end