Class: RosettaQueue::Gateway::EventedExchange::BaseExchange
- Inherits:
-
Object
- Object
- RosettaQueue::Gateway::EventedExchange::BaseExchange
- Defined in:
- lib/rosetta_queue/adapters/amqp_evented.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delete(destination) ⇒ Object
-
#initialize(adapter_settings, options = {}) ⇒ BaseExchange
constructor
A new instance of BaseExchange.
Constructor Details
#initialize(adapter_settings, options = {}) ⇒ BaseExchange
Returns a new instance of BaseExchange.
29 30 31 |
# File 'lib/rosetta_queue/adapters/amqp_evented.rb', line 29 def initialize(adapter_settings, ={}) @adapter_settings, @options = adapter_settings, end |
Instance Method Details
#delete(destination) ⇒ Object
33 34 35 |
# File 'lib/rosetta_queue/adapters/amqp_evented.rb', line 33 def delete(destination) conn.queue(destination).delete(@options) end |