Module: ActiveInteraction::ActiveJob::JobHelper

Included in:
DefaultJob
Defined in:
lib/active_interaction/active_job/job_helper.rb

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/active_interaction/active_job/job_helper.rb', line 2

def perform *args
  if self.class.respond_to?(:module_parent)
    self.class.module_parent.run!(*args)
  else
    self.class.parent.run!(*args)
  end
end