Module: Cardio::DelayedJob

Defined in:
lib/cardio/delayed_job.rb

Overview

override default methods to handle DelayedJob needs

Instance Method Summary collapse

Instance Method Details

#delaying!(on = true) ⇒ Object



4
5
6
7
# File 'lib/cardio/delayed_job.rb', line 4

def delaying! on=true
  super
  Delayed::Worker.delay_jobs = Cardio.config.delaying
end