class

AzuCLI::Generate::JoobQ

Inherits Teeplate::FileTree < Reference < Object

JoobQ initializer generator Sets up JoobQ configuration and initializer files for existing projects

Constructors

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")
Source

Instance methods

____collect_files(____files)

:nodoc:

Source
__ecr0(____io)
Source
__ecr10(____io)
Source
__ecr2(____io)
Source
__ecr4(____io)
Source
__ecr6(____io)
Source
__ecr8(____io)
Source
config_file_path

Generate configuration file path

Source
create_example_job
Source
create_example_job=(create_example_job : Bool)
Source
default_queue
Source
default_queue=(default_queue : String)
Source
example_job_name
Source
example_job_name=(example_job_name : String)
Source
initializer_file_path

Generate initializer file path

Source
jobs_directory

Generate jobs directory

Source
project_name
Source
project_name=(project_name : String)
Source
redis_url
Source
redis_url=(redis_url : String)
Source
worker_file_path

Generate worker file path

Source
workers
Source
workers=(workers : Int32)
Source