ActiveStorage::Service
Port of ActiveStorage::Service (the gem's abstract service API).
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.
name
Sourceupload(key : String, data : String | Bytes, checksum : String | Nil = nil, content_type : String | Nil = nil) : Nil
Source