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
39 40 41 |
# File 'lib/fog/google/storage.rb', line 39 def http_url(params, expires) "http://" << host_path_query(params, expires) end |
#https_url(params, expires) ⇒ Object
43 44 45 |
# File 'lib/fog/google/storage.rb', line 43 def https_url(params, expires) "https://" << host_path_query(params, expires) end |