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

Minor fix to allow options on save to pass in metadata.

This commit is contained in:
Rupak Ganguly 2012-10-26 00:21:49 -04:00
parent 0a9fc31f5e
commit dda22ad8c5

View file

@ -189,9 +189,8 @@ module Fog
end
end
def save
def save(options = {})
requires :key
options = {}
# write out the acls into the headers before save
options.merge!(connection.perm_acl_to_header(@read_acl, @write_acl))
connection.put_container(key, options)