Class: Marty::RemoveOldPromisesJob
- Defined in:
- app/jobs/marty/remove_old_promises_job.rb
Instance Attribute Summary
Attributes inherited from CronJob
Instance Method Summary collapse
Methods inherited from CronJob
#enqueue, #log_failure, #log_success, remove, reschedule, schedule, scheduled?
Instance Method Details
#perform ⇒ Object
3 4 5 |
# File 'app/jobs/marty/remove_old_promises_job.rb', line 3 def perform Marty::Promise.cleanup(false) end |