Module: Delayed::Job::Extras

Included in:
DJ::Worker, PerformableMethod
Defined in:
lib/delayed_job_extras/extras.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

PRIORITY_LEVELS =
{:immediate => 10000, :high => 1000, :medium => 500, :normal => 0, :low => -100, :who_cares => -1000}

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



7
8
9
10
# File 'lib/delayed_job_extras/extras.rb', line 7

def self.included(klass)
  klass.send(:include, Delayed::Job::Extras::InstanceMethods)
  klass.extend(Delayed::Job::Extras::ClassMethods)
end