Class: MessageQueue::Adapters::Adapter
- Inherits:
-
Object
- Object
- MessageQueue::Adapters::Adapter
- Includes:
- Singleton
- Defined in:
- lib/message_queue/adapter.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new_connection(serializer, options = {}) ⇒ Object
9 10 11 |
# File 'lib/message_queue/adapter.rb', line 9 def new_connection(serializer, = {}) instance.new_connection(serializer, ) end |
Instance Method Details
#new_connection(serializer, options = {}) ⇒ Object
14 15 16 |
# File 'lib/message_queue/adapter.rb', line 14 def new_connection(serializer, = {}) Connection.new(serializer, ) end |