struct

Autobot::Cron::CronPayload

Inherits JSON::Serializable < Struct < Value < Object

What to do when the job runs.

Constructors

new(kind : Autobot::Cron::PayloadKind = PayloadKind::AgentTurn, message : String = "", deliver : Bool = false, channel : Nil | String = nil, to : Nil | String = nil, command : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

channel
Source
channel=(channel : String | Nil)
Source
command
Source
command=(command : String | Nil)
Source
deliver=(deliver : Bool)
Source
deliver?
Source
kind
Source
kind=(kind : PayloadKind)
Source
message
Source
message=(message : String)
Source
to=(to : String | Nil)
Source