method

private_url

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: GCSService
private_url(key, expires_in:, filename:, content_type:, disposition:, **) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/service/gcs_service.rb, line 102
      def private_url(key, expires_in,, filename,, content_type,, disposition,, **)
        file_for(key).signed_url expires: expires_in, query: {
          "response-content-disposition" => content_disposition_with(type: disposition, filename: filename),
          "response-content-type" => content_type
        }
      end
Register or log in to add new notes.