Module: Fog::Google::StorageJSON::Utils
Instance Method Summary collapse
- #http_url(params, expires) ⇒ Object
- #https_url(params, expires) ⇒ Object
- #url(params, expires) ⇒ Object
Instance Method Details
#http_url(params, expires) ⇒ Object
9 10 11 |
# File 'lib/fog/google/storage/storage_json/utils.rb', line 9 def http_url(params, expires) "http://#{host_path_query(params, expires)}" end |
#https_url(params, expires) ⇒ Object
13 14 15 |
# File 'lib/fog/google/storage/storage_json/utils.rb', line 13 def https_url(params, expires) "https://#{host_path_query(params, expires)}" end |
#url(params, expires) ⇒ Object
17 18 19 20 |
# File 'lib/fog/google/storage/storage_json/utils.rb', line 17 def url(params, expires) Fog::Logger.deprecation("Fog::Google::Storage => #url is deprecated, use #https_url instead [light_black](#{caller.first})[/]") https_url(params, expires) end |