Module: ActiveJobStore::ClassMethods

Defined in:
lib/active_job_store.rb

Instance Method Summary collapse

Instance Method Details

#job_executionsActiveRecord Relation

Query the list of job executions for the current job class

Returns:

  • (ActiveRecord Relation)

    query result



45
46
47
# File 'lib/active_job_store.rb', line 45

def job_executions
  ::ActiveJobStore::Record.where(job_class: to_s)
end