Class: WebhookQueue
- Inherits:
-
Object
- Object
- WebhookQueue
- Includes:
- Singleton
- Defined in:
- lib/watercooling/webhook_queue.rb
Constant Summary collapse
- @@retries =
3
Instance Method Summary collapse
-
#initialize ⇒ WebhookQueue
constructor
A new instance of WebhookQueue.
Constructor Details
#initialize ⇒ WebhookQueue
8 9 10 11 12 13 |
# File 'lib/watercooling/webhook_queue.rb', line 8 def initialize EM.add_periodic_timer(1) { send_current_webhooks } puts "Watercoolr is cooling..." end |