lib/fog/azurerm/models/storage/files.rb in gitlab-fog-azure-rm-1.1.1 vs lib/fog/azurerm/models/storage/files.rb in gitlab-fog-azure-rm-1.2.0
- old
+ new
@@ -121,14 +121,14 @@
# @param expires [Time] The time at which the shared access signature becomes invalid, in a UTC format.
# @param options [Hash] Unused. To keep same interface as other providers.
#
# @return [String] A http URL.
#
- def get_http_url(key, expires, _options = {})
+ def get_http_url(key, expires, options = {})
requires :directory
- service.get_blob_http_url(directory.key, key, expires)
+ service.get_blob_http_url(directory.key, key, expires, options)
end
# Get the https URL of the file(blob) with the given name.
#
# required attributes: directory
@@ -137,13 +137,13 @@
# @param expires [Time] The time at which the shared access signature becomes invalid, in a UTC format.
# @param options [Hash] Unused. To keep same interface as other providers.
#
# @return [String] A https URL.
#
- def get_https_url(key, expires, _options = {})
+ def get_https_url(key, expires, options = {})
requires :directory
- service.get_blob_https_url(directory.key, key, expires)
+ service.get_blob_https_url(directory.key, key, expires, options)
end
# Get the file(blob) without content with the given name.
#
# required attributes: directory