class
AzuCLI::Generate::JoobQ
- AzuCLI::Generate::JoobQ
- Teeplate::FileTree
- Reference
- Object
Overview
JoobQ initializer generator Sets up JoobQ configuration and initializer files for existing projects
Defined in:
azu_cli/generators/joobq.crConstructors
Instance Method Summary
-
#____collect_files(____files)
:nodoc:
- #__ecr0(____io)
- #__ecr2(____io)
- #__ecr4(____io)
- #__ecr6(____io)
- #__ecr8(____io)
-
#config_file_path : String
Generate configuration file path
- #create_example_job : Bool
- #create_example_job=(create_example_job : Bool)
- #default_queue : String
- #default_queue=(default_queue : String)
- #example_job_name : String
- #example_job_name=(example_job_name : String)
-
#initializer_file_path : String
Generate initializer file path
-
#jobs_directory : String
Generate jobs directory
- #project_name : String
- #project_name=(project_name : String)
- #redis_url : String
- #redis_url=(redis_url : String)
-
#worker_file_path : String
Generate worker file path
- #workers : Int32
- #workers=(workers : Int32)
Constructor Detail
def self.new(project_name : String, redis_url : String = "redis://localhost:6379", default_queue : String = "default", workers : Int32 = 3, create_example_job : Bool = true, example_job_name : String = "ExampleJob")
#