Module: ActiveInteraction::Extras::ActiveJob::Perform

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_interaction/extras/active_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/active_interaction/extras/active_job.rb', line 17

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