Class: Ping
- Inherits:
-
Jobly::Job
- Object
- Jobly::Job
- Ping
- Defined in:
- lib/jobly/templates/full/jobs/ping.rb,
lib/jobly/templates/minimal/jobs/ping.rb
Instance Attribute Summary
Attributes inherited from Jobly::Job
Instance Method Summary collapse
Methods inherited from Jobly::Job
#perform, #perform!, run, run_later
Methods included from Jobly::Helpers
Methods included from Jobly::JobExtensions::Isolation
#in_isolation, included, #isolated?
Methods included from Jobly::JobExtensions::Solo
included, #solo?, #solo_full_key, #solo_key, #solo_key!, #solo_lock, #solo_locked?, #solo_unlock
Methods included from Jobly::JobExtensions::Actions
included, #skip_job, #skipped?
Methods included from Jobly::JobExtensions::OptionAccessors
Instance Method Details
#execute(response: 'PONG') ⇒ Object
2 3 4 5 |
# File 'lib/jobly/templates/full/jobs/ping.rb', line 2 def execute(response: 'PONG') at 100, response logger.info response end |