Class: Tower::Queue

Inherits:
Object
  • Object
show all
Defined in:
lib/tower/queue.rb

Defined Under Namespace

Modules: WithDelayedJob

Class Method Summary collapse

Class Method Details

.add(service, *args) ⇒ Object

Current Queue Actions never interact directly with instance call following proxy methods instead



13
14
15
# File 'lib/tower/queue.rb', line 13

def self.add(service,*args)
  current.send :add, service, *args
end

.currentObject

Current Queue



5
6
7
# File 'lib/tower/queue.rb', line 5

def self.current
  @@current ||= new
end