JobFactory
Inherits Reference < Object
Constants
TTL = ENV["DEFAULT_TTL"]? || 3600
Constructors
new(data : Hash(String, String), tube : String, priority : Int32)
SourceClass methods
build_job_factory_from_hash(data : JSON::Any)
Sourcenormalize_json_hash(json_hash : JSON::Any)
Sourceto_hash(job)
SourceInstance methods
body
Sourcebody=(body : String)
Sourcecreated_time
Sourcecreated_time=(created_time : Int64)
Sourceexpired_limit
Sourceexpired_limit=(expired_limit : Int32)
Sourceexpireds
Sourceexpireds=(expireds : Int32)
Sourceget_job
Sourceid
Sourceid=(id : String)
Sourcenoop
Sourcenoop=(noop : Bool)
Sourceparent_id
Sourceparent_id=(parent_id : String)
Sourcepriority
Sourcepriority=(priority : Int32)
Sourcereleases
Sourcereleases=(releases : Int32)
Sourcereserved
Sourcereserved=(reserved : Bool)
Sourcettl
Sourcettl=(ttl : Int32)
Sourcetube
Sourcetube=(tube : String)
Source