1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Reformatting and making consistent with other classes.

This commit is contained in:
Andrew Newman 2011-11-05 07:40:14 +10:00
parent 0670616f0c
commit 1b32cf88fe

View file

@ -2,16 +2,18 @@ module Fog
module Storage
class Ninefold
class Real
def head_object(namespace = '', options = { })
options = options.reject { |key, value| value.nil? }
def head_namespace(namespace = '', options = {})
options = options.reject {|key, value| value.nil?}
request({
:expects => 200,
:method => 'HEAD',
:path => "namespace/" + namespace,
:query => {},
:parse => true
}.merge(options))
}.merge(options))
end
end
end
end