class ActiveStorage::Service::S3Service
def private_url(key, expires_in:, filename:, disposition:, content_type:, **)
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