Class: CommandProposal::CommandRunnerJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/command_proposal/command_runner_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(iteration_id) ⇒ Object



5
6
7
8
9
# File 'app/jobs/command_proposal/command_runner_job.rb', line 5

def perform(iteration_id)
  iteration = ::CommandProposal::Iteration.find(iteration_id)

  ::CommandProposal::Services::Runner.new.execute(iteration)
end