Sha256: f7f8d17c9d755ce08f61a69ae7153d5b33f9777b730812414eb41229fbf4e69a

Contents?: true

Size: 413 Bytes

Versions: 4

Compression:

Stored size: 413 Bytes

Contents

module MessageDriver
  module Subscription
    class Base
      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

4 entries across 4 versions & 1 rubygems

Version Path
message-driver-0.2.1 lib/message_driver/subscription.rb
message-driver-0.2.0 lib/message_driver/subscription.rb
message-driver-0.2.0.rc2 lib/message_driver/subscription.rb
message-driver-0.2.0.rc1 lib/message_driver/subscription.rb