Sha256: ecb11cbb7b98a405acf933ef4e7b8d8f8e4bf5dbb284146f94f772f698d4cae5

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

module ManageIQ
  module Messaging
    class ReceivedMessage
      attr_accessor :sender, :message, :payload, :ack_ref, :client

      def initialize(sender, message, payload, ack_ref, client)
        @sender, @message, @payload, @ack_ref, @client = sender, message, payload, ack_ref, client
      end

      def ack
        client.ack(ack_ref)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
manageiq-messaging-0.1.4 lib/manageiq/messaging/received_message.rb