Module: ActionConductor::ActionController

Extended by:
ActiveSupport::Concern
Defined in:
lib/action_conductor/integrations/action_controller.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#conductor(handle = nil) ⇒ Object



33
34
35
36
37
# File 'lib/action_conductor/integrations/action_controller.rb', line 33

def conductor(handle=nil)
  @action_runner ||= {}
  @action_runner[handle] ||=
    ActionRunner.new( controller: self, conductors: conductors.with_handle(handle))
end

#exports(*args) ⇒ Object



39
40
41
# File 'lib/action_conductor/integrations/action_controller.rb', line 39

def exports(*args)
  conductor.export(*args)
end