Sha256: 32e7d90e12ef5f1af8d7a52ac420ed2e173539bba80ce221736276bdaaed2c8b

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

module MessageDriver
  module Subscription
    class Base
      include Logging
      attr_reader :adapter, :destination, :consumer, :options

      def initialize(adapter, destination, consumer, options={})
        @adapter = adapter
        @destination = destination
        @consumer = consumer
        @options = options
      end

      def unsubscribe
        raise 'must be implemented in subclass'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
message-driver-0.4.0 lib/message_driver/subscription.rb