Module: Fog::Storage::GoogleXML::Utils
Constant Summary collapse
- VALID_ACLS =
[ "authenticated-read", "bucket-owner-full-control", "bucket-owner-read", "private", "project-private", "public-read", "public-read-write" ].freeze
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
16 17 18 |
# File 'lib/fog/storage/google_xml/utils.rb', line 16 def http_url(params, expires) "http://" << host_path_query(params, expires) end |
#https_url(params, expires) ⇒ Object
20 21 22 |
# File 'lib/fog/storage/google_xml/utils.rb', line 20 def https_url(params, expires) "https://" << host_path_query(params, expires) end |
#url(params, expires) ⇒ Object
24 25 26 27 |
# File 'lib/fog/storage/google_xml/utils.rb', line 24 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 |