lib/fog/brightbox/requests/storage/head_container.rb in fog-brightbox-0.6.1 vs lib/fog/brightbox/requests/storage/head_container.rb in fog-brightbox-0.7.0

- old
+ new

@@ -1,10 +1,9 @@ module Fog module Storage class Brightbox class Real - # List number of objects and total bytes stored # # ==== Parameters # * container<~String> - Name of container to retrieve info for # @@ -14,15 +13,14 @@ # * 'X-Container-Object-Count'<~String> - Count of containers # * 'X-Container-Bytes-Used'<~String> - Bytes used def head_container(container) request( :expects => 204, - :method => 'HEAD', + :method => "HEAD", :path => Fog::Storage::Brightbox.escape(container), - :query => {'format' => 'json'} + :query => { "format" => "json" } ) end - end end end end