Class: Heya::Campaigns::StepActionJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/heya/campaigns/step_action_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(_campaign, user, step) ⇒ Object



10
11
12
# File 'lib/heya/campaigns/step_action_job.rb', line 10

def perform(_campaign, user, step)
  step.action.new(user: user, step: step).deliver_now
end