Sha256: ea11f7a26a90a80af17312bf116176850f6c74bd6d3b86c1b2fcb75b49bcc084

Contents?: true

Size: 1.47 KB

Versions: 21

Compression:

Stored size: 1.47 KB

Contents

module Fog
  module Rackspace
    class Queues
      class Real

        # This operation lists queues for the project. The queues are sorted alphabetically by name.
        # @note A request to list queues when you have no queues in your account returns 204, instead of 200, because there was no information to send back.
        #
        # @param [Hash] options
        # @option options [String] :marker - Specifies the name of the last queue received in a previous request, or none to get the first page of results.
        # @option options [Integer] :limit - Specifies the name of the last queue received in a previous request, or none to get the first page of results.
        # @option options [Boolean] :detailed - Determines whether queue metadata is included in the response. The default value for this parameter is false, which excludes t
        # @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_listQueues__version__queues_.html
        def list_queues(options={})
          request(
            :expects => [200, 204],
            :method => 'GET',
            :path => 'queues',
            :query => options
          )
        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/list_queues.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/rackspace/requests/queues/list_queues.rb
fog-1.19.0 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131205181604 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/rackspace/requests/queues/list_queues.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/rackspace/requests/queues/list_queues.rb