module Interactor::Organizer

Public: Interactor::Organizer methods. Because Interactor::Organizer is a module, custom Interactor::Organizer classes should include Interactor::Organizer rather than inherit from it.

Examples

class MyOrganizer
  include Interactor::Organizer

  organizer InteractorOne, InteractorTwo
end

Public Class Methods

included(base) click to toggle source

Internal: Install Interactor::Organizer's behavior in the given class.

# File lib/interactor/organizer.rb, line 15
def self.included(base)
  base.class_eval do
    include Interactor

    extend ClassMethods
    include InstanceMethods
  end
end