Module: Interpipe::Interactor

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object


3
4
5
6
7
8
9
# File 'lib/interpipe/interactor.rb', line 3

def self.included(base)
  base.class_eval do
    extend ClassMethods

    attr_reader :results
  end
end

Instance Method Details

#initializeObject


19
20
21
22
# File 'lib/interpipe/interactor.rb', line 19

def initialize
  @results = {}
  setup
end

#perform(**options) ⇒ Object


27
28
# File 'lib/interpipe/interactor.rb', line 27

def perform(**options)
end

#setupObject


24
25
# File 'lib/interpipe/interactor.rb', line 24

def setup
end