Sha256: 43b36ae6beef4424395979a4442d8b5a4e448306a803c58cc9f824e6db63a81c

Contents?: true

Size: 886 Bytes

Versions: 16

Compression:

Stored size: 886 Bytes

Contents

module Fog
  module Storage
    class GoogleJSON
      class Real
        # Get an expiring object url from GCS
        # Deprecated, redirects to get_object_https_url.rb
        def get_object_url(bucket_name, object_name, expires, options = {})
          Fog::Logger.deprecation("Fog::Storage::Google => #get_object_url is deprecated, use #get_object_https_url instead[/] [light_black](#{caller(0..0)})")
          get_object_https_url(bucket_name, object_name, expires, options)
        end
      end

      class Mock # :nodoc:all
        def get_object_url(bucket_name, object_name, expires, options = {})
          Fog::Logger.deprecation("Fog::Storage::Google => #get_object_url is deprecated, use #get_object_https_url instead[/] [light_black](#{caller(0..0)})")
          get_object_https_url(bucket_name, object_name, expires, options)
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
fog-google-1.15.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.14.0 lib/fog/storage/google_json/requests/get_object_url.rb
gitlab-fog-google-1.14.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.13.0 lib/fog/storage/google_json/requests/get_object_url.rb
gitlab-fog-google-1.13.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.12.1 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.12.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.11.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.10.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.9.1 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.9.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.8.2 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.8.1 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.8.0 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.7.1 lib/fog/storage/google_json/requests/get_object_url.rb
fog-google-1.7.0 lib/fog/storage/google_json/requests/get_object_url.rb