Class: NowAndLater::Queue
- Inherits:
-
Object
- Object
- NowAndLater::Queue
- Defined in:
- lib/now_and_later/queue.rb
Class Method Summary collapse
-
.add(service, *args) ⇒ Object
public class method for enqueuing services.
-
.current ⇒ Object
current queue instance.
Class Method Details
.add(service, *args) ⇒ Object
public class method for enqueuing services
9 10 11 |
# File 'lib/now_and_later/queue.rb', line 9 def self.add(service,*args) current.send :add, service, *args end |
.current ⇒ Object
current queue instance
4 5 6 |
# File 'lib/now_and_later/queue.rb', line 4 def self.current @@current ||= new end |