class

ProtoHackers::JobCentre::Request

Inherits JSON::Serializable < Reference < Object

Constructors

new(request : String, queue : Nil | String, pri : Int32 | Nil, job : Nil | Hash(String, String), queues : Nil | Array(String), wait : Bool | Nil, id : UInt64 | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id=(id : UInt64 | Nil)
Source
is_valid?
Source
job=(job : Hash(String, String) | Nil)
Source
pri=(pri : Int32 | Nil)
Source
queue
Source
queue=(queue : String | Nil)
Source
queues
Source
queues=(queues : Array(String) | Nil)
Source
request
Source
request=(request : String)
Source
wait
Source
wait=(wait : Bool | Nil)
Source