Class: ResqueBus::Publisher
- Inherits:
-
Object
- Object
- ResqueBus::Publisher
- Defined in:
- lib/resque_bus/compatibility/publisher.rb
Overview
publishes on a delay
Class Method Summary collapse
Class Method Details
.perform(event_type, attributes = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/resque_bus/compatibility/publisher.rb', line 5 def perform(event_type, attributes = {}) attributes["bus_event_type"] = event_type # now using one hash only ResqueBus.note_deprecation "[MIGRATION] Note: new events will be using QueueBus::Publisher" ::QueueBus::Publisher.perform(attributes) end |