Sha256: b3b966af8c3c15ef457aba7554bd6b2b656420b53178855328a8fa383c670f2f
Contents?: true
Size: 880 Bytes
Versions: 36
Compression:
Stored size: 880 Bytes
Contents
module Fog module Rackspace module Files class Real # List number of objects and total bytes stored # # ==== Parameters # * container<~String> - Name of container to retrieve info for # # ==== Returns # * response<~Excon::Response>: # * headers<~Hash>: # * 'X-Container-Object-Count'<~String> - Count of containers # * 'X-Container-Bytes-Used'<~String> - Bytes used def head_container(container) response = storage_request( :expects => 204, :method => 'HEAD', :path => container, :query => {'format' => 'json'} ) response end end class Mock def head_container(container) Fog::Mock.not_implemented end end end end end
Version data entries
36 entries across 36 versions & 2 rubygems