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

[rackspace] fix argument list for File#save

This commit is contained in:
geemus 2010-07-17 17:19:15 -05:00
parent f589426319
commit 1b35b9d2ca

View file

@ -41,9 +41,9 @@ module Fog
end
end
def save(options = {})
def save
requires :body, :directory, :key
data = connection.put_object(directory.name, @key, @body, options)
data = connection.put_object(directory.name, @key, @body)
@etag = data.headers['ETag']
true
end