Module: Taskflow
- Defined in:
- lib/taskflow.rb,
lib/taskflow/version.rb,
lib/generators/taskflow/taskflow_generator.rb
Defined Under Namespace
Classes: CustomHash, Flow, Logger, Record, Task, TaskflowGenerator, Worker
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Method Summary
collapse
Class Method Details
20
21
22
|
# File 'lib/taskflow.rb', line 20
def self.configure
yield self
end
|
.table_name_prefix ⇒ Object
11
12
13
|
# File 'lib/taskflow.rb', line 11
def self.table_name_prefix
'taskflow_'
end
|
.worker_options=(opts) ⇒ Object
15
16
17
18
|
# File 'lib/taskflow.rb', line 15
def self.worker_options=(opts)
orig = HashWithIndifferentAccess.new(Worker.sidekiq_options_hash || {})
Worker.sidekiq_options_hash = orig.merge(opts).merge(retry: false)
end
|