class

ActiveJob::EnqueuedJob

Inherits Reference < Object

One enqueued job, mirroring the fields of Rails' test-adapter records. ruby_inspect renders the exact format Ruby's Hash#inspect produces (string keys first, then symbol extras) — the oracle compares this string byte-for-byte.

Constructors

new(job_class : String, queue_name : String, priority : Int32 | Nil, arguments : Array(ActiveJob::ArgValue), executions : Int32, exception_executions : Hash(String, Int32), scheduled_at : Time | Nil, job : ::ActiveJob::Base.class)
Source

Instance methods

arguments
at
exception_executions
executions
job
job_class
priority
queue_name
ruby_inspect
Source
scheduled_at
to_job_data

Hash form for ActiveJob::Base.deserialize.

Source