lib/fog/aws/models/storage/file.rb in fog-1.1.1 vs lib/fog/aws/models/storage/file.rb in fog-1.1.2
- old
+ new
@@ -121,12 +121,12 @@
merge_attributes(data.headers)
self.content_length = Fog::Storage.get_body_size(body)
true
end
- def url(expires)
+ def url(expires, options = {})
requires :key
- collection.get_https_url(key, expires)
+ collection.get_https_url(key, expires, options)
end
private
def directory=(new_directory)