Sha256: 929c802dbfc343870a648d7d566495de19bd5f59c9dab68ca74c00aeac8105cd

Contents?: true

Size: 435 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
message-driver-0.3.0 lib/message_driver/subscription.rb
message-driver-0.2.2 lib/message_driver/subscription.rb