Sha256: c66f4dfdb229231cd8aaf7dbd862107a2326e9ce0d5e1bf11656212bfea8bbe1
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
module Fog module Rackspace class Storage 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_cdn_containers(options = {}) response = cdn_request( :expects => [200, 204], :method => 'GET', :path => '', :query => {'format' => 'json'}.merge!(options) ) response end end class Mock def get_cdn_containers(options = {}) Fog::Mock.not_implemented end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-0.3.13 | lib/fog/rackspace/requests/storage/get_cdn_containers.rb |
fog-0.3.12 | lib/fog/rackspace/requests/storage/get_cdn_containers.rb |