ActiveStorage::DiskService
Inherits ActiveStorage::Service < Reference < Object
Constructors
Instance methods
headers_for_direct_upload(key : String, content_type : String | Nil, content_length : Int64, checksum : String | Nil, filename : String | Nil = nil) : Hash(String, String)
Headers the client must send with the direct-upload request.
Public: the DiskController serves files through this (the gem's
named_disk_service(key[:service_name]).path_for).