Module: OneOff
- Defined in:
- lib/one_off.rb,
lib/one_off/file.rb,
lib/one_off/engine.rb,
lib/one_off/version.rb,
lib/one_off/migrator.rb,
app/models/one_off/task.rb,
lib/one_off/environments.rb,
lib/one_off/configuration.rb,
app/jobs/one_off/executor_job.rb,
app/jobs/one_off/application_job.rb,
app/models/one_off/application_record.rb
Defined Under Namespace
Modules: Environments
Classes: ApplicationJob, ApplicationRecord, Configuration, Engine, ExecutorJob, File, Migrator, Task
Constant Summary
collapse
- VERSION =
'1.4.0'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
Also known as:
config
9
10
11
|
# File 'lib/one_off.rb', line 9
def configuration
@configuration ||= OneOff::Configuration.new
end
|
15
16
17
|
# File 'lib/one_off.rb', line 15
def configure
yield configuration
end
|