mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
41 lines
765 B
Ruby
41 lines
765 B
Ruby
unless Fog.mocking?
|
|
|
|
module Fog
|
|
module Rackspace
|
|
class Files
|
|
|
|
# List number of containers and total bytes stored
|
|
#
|
|
# ==== Returns
|
|
# * response<~Excon::Response>:
|
|
# * headers<~Hash>:
|
|
# * 'X-Account-Container-Count'<~String> - Count of containers
|
|
# * 'X-Account-Bytes-Used'<~String> - Bytes used
|
|
def head_containers
|
|
response = storage_request(
|
|
:expects => 204,
|
|
:method => 'HEAD',
|
|
:path => '',
|
|
:query => 'format=json'
|
|
)
|
|
response
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
|
|
else
|
|
|
|
module Fog
|
|
module Rackspace
|
|
class Servers
|
|
|
|
def get_flavors
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
|
|
end
|