Class: RockQueue::DelayedJob

Inherits:
Object
  • Object
show all
Defined in:
lib/rock-queue/adapters/delayed_job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ DelayedJob

Returns a new instance of DelayedJob.



13
14
# File 'lib/rock-queue/adapters/delayed_job.rb', line 13

def initialize(options = {})
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



11
12
13
# File 'lib/rock-queue/adapters/delayed_job.rb', line 11

def obj
  @obj
end

Instance Method Details

#popObject



20
21
# File 'lib/rock-queue/adapters/delayed_job.rb', line 20

def pop
end

#push(value, options) ⇒ Object



16
17
18
# File 'lib/rock-queue/adapters/delayed_job.rb', line 16

def push(value, options)
  Delayed::Job.enqueue value
end