AzuCLI::Generate::Job
Inherits Teeplate::FileTree < Reference < Object
Job generator that creates JoobQ::Job structs Generates background job classes with modern JoobQ API support
Constants
OUTPUT_DIR = "./src/jobs"
Constructors
new(name : String, parameters : Hash(String, String) = {} of String => String, queue : String = "default", retries : Int32 = 3, expires : String = "1.days")
SourceInstance methods
__ecr0(____io)
Sourceexpires
Sourceexpires=(expires : String)
Sourcename
Sourcename=(name : String)
Sourceparameters
Sourceparameters=(parameters : Hash(String, String))
Sourcequeue
Sourcequeue=(queue : String)
Sourceretries
Sourceretries=(retries : Int32)
Sourcesnake_case_name
Sourcesnake_case_name=(snake_case_name : String)
Source