class ProtoHackers::JobCentre::Request

Included Modules

Defined in:

9_job_centre.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(request : String, queue : Nil | String, pri : Int32 | Nil, job : Nil | Hash(String, String), queues : Nil | Array(String), wait : Bool | Nil, id : UInt64 | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : UInt64 | Nil #

[View source]
def id=(id : UInt64 | Nil) #

[View source]
def is_valid? #

[View source]
def job : Hash(String, String) | Nil #

[View source]
def job=(job : Hash(String, String) | Nil) #

[View source]
def pri : Int32 | Nil #

[View source]
def pri=(pri : Int32 | Nil) #

[View source]
def queue : String | Nil #

[View source]
def queue=(queue : String | Nil) #

[View source]
def queues : Array(String) | Nil #

[View source]
def queues=(queues : Array(String) | Nil) #

[View source]
def request : String #

[View source]
def request=(request : String) #

[View source]
def wait : Bool | Nil #

[View source]
def wait=(wait : Bool | Nil) #

[View source]