lib/fog/brightbox/requests/storage/head_container.rb in fog-brightbox-1.0.0.rc1 vs lib/fog/brightbox/requests/storage/head_container.rb in fog-brightbox-1.0.0.rc2
- old
+ new
@@ -1,8 +1,8 @@
module Fog
- module Storage
- class Brightbox
+ module Brightbox
+ class Storage
class Real
# List number of objects and total bytes stored
#
# ==== Parameters
# * container<~String> - Name of container to retrieve info for
@@ -14,10 +14,10 @@
# * 'X-Container-Bytes-Used'<~String> - Bytes used
def head_container(container)
request(
:expects => 204,
:method => "HEAD",
- :path => Fog::Storage::Brightbox.escape(container),
+ :path => Fog::Brightbox::Storage.escape(container),
:query => { "format" => "json" }
)
end
end
end