method

private_url

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: S3Service
private_url(key, expires_in:, filename:, disposition:, content_type:, **client_opts) 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/s3_service.rb, line 117
      def private_url(key, expires_in,, filename,, disposition,, content_type,, **client_opts)
        object_for(key).presigned_url :get, expires_in: expires_in.to_i,
          response_content_disposition: content_disposition_with(type: disposition, filename: filename),
          response_content_type: content_type, **client_opts
      end
Register or log in to add new notes.