data Divider::Queue::New(class_name: String, queue: String, args: String, priority: Int, at: Time?, after: Duration?, max_attempts: Int, unique: Divider::Unique?, job: Type[Divider::Job]?)
A job to insert: its class's name, queue, arguments (JSON text of an
object), priority, when it is due (at, or after from the
database's now, or now), attempts and uniqueness.
/home/runner/work/divider/divider/src/queue.qz:11
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, class_name: String = …, queue: String = …, args: String = …, priority: Int = …, at: Time? = …, after: Duration? = …, max_attempts: Int = …, unique: Divider::Unique? = …, job: Type[Divider::Job]? = …) -> Divider::Queue::New
A copy with the fields given replaced.