Module: Fog::Storage::Google::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
40 41 42 |
# File 'lib/fog/google/storage.rb', line 40 def http_url(params, expires) "http://" << host_path_query(params, expires) end |
#https_url(params, expires) ⇒ Object
44 45 46 |
# File 'lib/fog/google/storage.rb', line 44 def https_url(params, expires) "https://" << host_path_query(params, expires) end |
#url(params, expires) ⇒ Object
48 49 50 51 |
# File 'lib/fog/google/storage.rb', line 48 def url(params, expires) Fog::Logger.deprecation("Fog::Storage::Google => #url is deprecated, use #https_url instead [light_black](#{caller.first})[/]") https_url(params, expires) end |