class JobFactory
- JobFactory
- Reference
- Object
Defined in:
lib/job.crConstant Summary
-
TTL =
ENV["DEFAULT_TTL"]? || 3600
Constructors
Class Method Summary
- .build_job_factory_from_hash(data : JSON::Any)
- .normalize_json_hash(json_hash : JSON::Any)
- .to_hash(job)
Instance Method Summary
- #body : String
- #body=(body : String)
- #created_time : Int64
- #created_time=(created_time : Int64)
- #expired_limit : Int32
- #expired_limit=(expired_limit : Int32)
- #expireds : Int32
- #expireds=(expireds : Int32)
- #get_job
- #id : String
- #id=(id : String)
- #noop : Bool
- #noop=(noop : Bool)
- #parent_id : String
- #parent_id=(parent_id : String)
- #priority : Int32
- #priority=(priority : Int32)
- #releases : Int32
- #releases=(releases : Int32)
- #reserved : Bool
- #reserved=(reserved : Bool)
- #ttl : Int32
- #ttl=(ttl : Int32)
- #tube : String
- #tube=(tube : String)