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

Change the metadata method to support amazon tags such as x-amz-website-redirect-location

This commit is contained in:
Arthur Gunawan 2012-10-31 11:05:23 +11:00
parent e67eba360c
commit 5819cde785

View file

@ -70,7 +70,7 @@ module Fog
remove_method :metadata
def metadata
attributes.reject {|key, value| !(key.to_s =~ /^x-amz-meta-/)}
attributes.reject {|key, value| !(key.to_s =~ /^x-amz-/)}
end
remove_method :metadata=