method

private_url

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: S3Service
private_url(key, expires_in:, filename:, disposition:, content_type:, **) 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 99
      def private_url(key, expires_in,, filename,, disposition,, content_type,, **)
        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
      end
Register or log in to add new notes.