Class: AssignContractWorker

Inherits:
ApplicationWorker show all
Defined in:
app/workers/assign_contract_worker.rb

Constant Summary

Constants inherited from ApplicationWorker

ApplicationWorker::ERRORS

Instance Method Summary collapse

Methods inherited from ApplicationWorker

#success?

Instance Method Details

#perform(ticket_id) ⇒ Object



4
5
6
7
# File 'app/workers/assign_contract_worker.rb', line 4

def perform(ticket_id)
  @ticket_id = ticket_id
  assign_contract
end