struct

CronLord::WorkerClient::LeaseResponse

Inherits Struct < Value < Object

Constructors

new(run_id : String, job : JSON::Any, lease_expires_at : Int64 | Nil, heartbeat_every : Int32)
Source

Instance methods

clone
Source
copy_with(run_id _run_id = @run_id, job _job = @job, lease_expires_at _lease_expires_at = @lease_expires_at, heartbeat_every _heartbeat_every = @heartbeat_every)
Source
heartbeat_every
job
lease_expires_at
run_id