Class: Tower::Queue
- Inherits:
-
Object
- Object
- Tower::Queue
- Defined in:
- lib/tower/queue.rb
Defined Under Namespace
Modules: WithDelayedJob
Class Method Summary collapse
-
.add(service, *args) ⇒ Object
Current Queue Actions never interact directly with instance call following proxy methods instead.
-
.current ⇒ Object
Current Queue.
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 |
.current ⇒ Object
Current Queue
5 6 7 |
# File 'lib/tower/queue.rb', line 5 def self.current @@current ||= new end |