Sha256: 3954321d2e660f2bb6ffe90e9e14b9634086c32092d855f2c67711d80318e5c5

Contents?: true

Size: 457 Bytes

Versions: 13

Compression:

Stored size: 457 Bytes

Contents

module Fog
  module Rackspace
    class Queues
      class Real
        def delete_message(queue_name, message_id, options = {})
          query = {}
          query[:claim_id] = options[:claim_id] if options.has_key? :claim_id
          request(
            :expects => 204,
            :method => 'DELETE',
            :path => "queues/#{queue_name}/messages/#{message_id}",
            :query => query
          )
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
fog-maestrodev-1.18.0.20131125111730 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131125083406 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131123105121 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131122203507 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131121075022 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131118164830 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131115184302 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131114200144 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131112185232 lib/fog/rackspace/requests/queues/delete_message.rb
fog-maestrodev-1.18.0.20131111203459 lib/fog/rackspace/requests/queues/delete_message.rb
fog-1.18.0 lib/fog/rackspace/requests/queues/delete_message.rb
fog-1.17.0 lib/fog/rackspace/requests/queues/delete_message.rb
fog-1.16.0 lib/fog/rackspace/requests/queues/delete_message.rb