Class: Delayed::Plugins::Reporting
- Inherits:
-
Delayed::Plugin
- Object
- Delayed::Plugin
- Delayed::Plugins::Reporting
show all
- Defined in:
- lib/delayed-plugins-reporting/version.rb,
lib/delayed-plugins-reporting/job_listener.rb,
lib/delayed-plugins-reporting/null_reporter.rb,
lib/delayed-plugins-reporting/pretty_json_job_formatter.rb,
lib/delayed-plugins-reporting/context.rb,
lib/delayed-plugins-reporting.rb
Defined Under Namespace
Classes: Context, JobListener, NullReporter, PrettyJsonJobFormatter
Constant Summary
collapse
- VERSION =
'0.9.1'
Class Method Summary
collapse
Class Method Details
.options ⇒ Object
29
30
31
|
# File 'lib/delayed-plugins-reporting.rb', line 29
def options
@options ||= {}
end
|
.options=(options) ⇒ Object
25
26
27
|
# File 'lib/delayed-plugins-reporting.rb', line 25
def options=(options)
@options = options
end
|
.with_context {|Context.create(**options)| ... } ⇒ Object
21
22
23
|
# File 'lib/delayed-plugins-reporting.rb', line 21
def with_context
yield Context.create(**options)
end
|