Sha256: 3bcba5c69dfdd6680757e37ec041bbfbd2223b55af546423ac7040b33dab125d
Contents?: true
Size: 748 Bytes
Versions: 4
Compression:
Stored size: 748 Bytes
Contents
module Fog module Storage class HuaweiCloud 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) request( :expects => 204, :method => 'HEAD', :path => Fog::HuaweiCloud.escape(container), :query => {'format' => 'json'} ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems