Module: ActiveJobStatus::JobStatus

Defined in:
lib/active_job_status/job_status.rb

Class Method Summary collapse

Class Method Details

.get_status(job_id:) ⇒ Object

Provides a way to check on the status of a given job



5
6
7
8
# File 'lib/active_job_status/job_status.rb', line 5

def self.get_status(job_id:)
  status = ActiveJobStatus.store.fetch(job_id)
  status ? status.to_sym : nil
end