Sha256: 4a0ccbb3eba133da1a441da072b2ba598c3c58b9fed546186821560b25d003d5
Contents?: true
Size: 1.14 KB
Versions: 21
Compression:
Stored size: 1.14 KB
Contents
module Fog module Rackspace class Queues class Real # This operation immediately releases a claim, making any remaining, undeleted) messages that are associated with the claim available to other workers. # Claims with malformed IDs or claims that are not found by ID are ignored. # # @param [String] queue_name Specifies the name of the queue. # @param [String] claim_id Specifies the claim ID. # @return [Excon::Response] response # @raise [Fog::Rackspace::Queues::NotFound] - HTTP 404 # @raise [Fog::Rackspace::Queues::BadRequest] - HTTP 400 # @raise [Fog::Rackspace::Queues::InternalServerError] - HTTP 500 # @raise [Fog::Rackspace::Queues::ServiceError] # @see http://docs.rackspace.com/queues/api/v1.0/cq-devguide/content/DELETE_deleteClaim__version__queues__queue_name__claims__claimId__claims-operations-dle001.html def delete_claim(queue_name, claim_id) request( :expects => 204, :method => 'DELETE', :path => "queues/#{queue_name}/claims/#{claim_id}" ) end end end end end
Version data entries
21 entries across 21 versions & 2 rubygems