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

fix query string for get bucket

This commit is contained in:
Wesley Beary 2009-08-17 17:38:59 -07:00
parent 1f152096ad
commit dbe4012d29

View file

@ -34,7 +34,7 @@ unless Fog.mocking?
# * 'Size'<~Integer> - Size of object # * 'Size'<~Integer> - Size of object
# * 'StorageClass'<~String> - Storage class of object # * 'StorageClass'<~String> - Storage class of object
def get_bucket(bucket_name, options = {}) def get_bucket(bucket_name, options = {})
query = '?' query = ''
for key, value in options for key, value in options
query << "#{key}=#{value};" query << "#{key}=#{value};"
end end