Sha256: 286c1795e012b27d12caf24d099d871b7c15101ef020df9b062a547c422e8a4d

Contents?: true

Size: 899 Bytes

Versions: 50

Compression:

Stored size: 899 Bytes

Contents

module Fog
  module CDN
    class Rackspace
      class Real

        # List existing cdn-enabled storage containers
        #
        # ==== Parameters
        # * options<~Hash>:
        #   * 'enabled_only'<~Boolean> - Set to true to limit results to cdn enabled containers
        #   * 'limit'<~Integer> - Upper limit to number of results returned
        #   * 'marker'<~String> - Only return objects with name greater than this value
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        #     * container<~String>: Name of container
        def get_containers(options = {})
          response = request(
            :expects  => [200, 204],
            :method   => 'GET',
            :path     => '',
            :query    => {'format' => 'json'}.merge!(options)
          )
          response
        end

      end
    end
  end
end

Version data entries

50 entries across 50 versions & 15 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-nirvanix-1.8.1 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-parser-fix-1.6.1 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-test-again-1.6.0 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-parser-fix-1.6.0 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-1.9.0 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/rackspace/requests/cdn/get_containers.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/rackspace/requests/cdn/get_containers.rb
fog-sgonyea-1.8.1 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-1.8.0 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-1.7.0 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-1.6.0 lib/fog/rackspace/requests/cdn/get_containers.rb
fog-1.5.0 lib/fog/rackspace/requests/cdn/get_containers.rb
rackspace-fog-1.4.2 lib/rackspace-fog/rackspace/requests/cdn/get_containers.rb
fog-1.4.0 lib/fog/rackspace/requests/cdn/get_containers.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/cdn/get_containers.rb
michiels-fog-1.3.1 lib/fog/rackspace/requests/cdn/get_containers.rb