Sha256: bc384a0fe341a210a2cfb74f7d91bc6e59ba983b26212b1ad76607b26b1aefd3

Contents?: true

Size: 1.04 KB

Versions: 21

Compression:

Stored size: 1.04 KB

Contents

module Fog
  module Rackspace
    class Queues
      class Real

        # This operation queries the specified claim for the specified queue. 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 [Integer] 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/GET_queryClaim__version__queues__queue_name__claims__claimId__claims-operations-dle001.html
        def get_claim(queue_name, claim_id)
          request(
            :expects => 200,
            :method => 'GET',
            :path => "queues/#{queue_name}/claims/#{claim_id}"
          )
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-maestrodev-1.19.0.20140212012611 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/rackspace/requests/queues/get_claim.rb
fog-1.19.0 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131205181604 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/rackspace/requests/queues/get_claim.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/rackspace/requests/queues/get_claim.rb