Sha256: 612d12b4b3c79daf4669e6dd623641a36161456561c71da9a2beca45e734fc1c

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

module DispatchRider
  module QueueServices
    class ReceivedMessage < ::SimpleDelegator

      #Item is the raw message item as returned by the queue implementor
      #it's contents will depend on the queue being used
      attr_reader :item

      def initialize(message, item)
        @item = item
        super(message)
      end

      def extend_timeout(time)
        raise NotImplementedError
      end

      def return_to_queue
        raise NotImplementedError
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-1.1.5 lib/dispatch-rider/queue_services/received_message.rb