Sha256: dd23e53ad665891653406daecbd3c40ef0f4a6213a0f7fe03ec4d4ce657fe44e

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

require "singleton"

module MessageQueue
  module Adapters
    class Adapter
      include Singleton

      class << self
        def new_connection(serializer, options = {})
          instance.new_connection(serializer, options)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
message_queue-0.0.4 lib/message_queue/adapter.rb
message_queue-0.0.3 lib/message_queue/adapter.rb
message_queue-0.0.2 lib/message_queue/adapter.rb