Module: Fog::Storage::GoogleXML::Utils

Included in:
Mock, Real
Defined in:
lib/fog/storage/google_xml/utils.rb

Instance Method Summary collapse

Instance Method Details

#http_url(params, expires) ⇒ Object


5
6
7
# File 'lib/fog/storage/google_xml/utils.rb', line 5

def http_url(params, expires)
  "http://" << host_path_query(params, expires)
end

#https_url(params, expires) ⇒ Object


9
10
11
# File 'lib/fog/storage/google_xml/utils.rb', line 9

def https_url(params, expires)
  "https://" << host_path_query(params, expires)
end

#url(params, expires) ⇒ Object


13
14
15
16
# File 'lib/fog/storage/google_xml/utils.rb', line 13

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