Sha256: 4ed1babd42918c523ca749a91eeb2d4435f20bce2229005f6c946e2c9434ac55
Contents?: true
Size: 750 Bytes
Versions: 60
Compression:
Stored size: 750 Bytes
Contents
module Fog module Storage class Softlayer 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::Softlayer.escape(container), :query => {'format' => 'json'} ) end end end end end
Version data entries
60 entries across 58 versions & 3 rubygems