method

service_url_for_direct_upload

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Blob
service_url_for_direct_upload(expires_in: ActiveStorage.service_urls_expire_in) public

Returns a URL that can be used to directly upload a file for this blob on the service. This URL is intended to be short-lived for security and only generated on-demand by the client-side JavaScript responsible for doing the uploading.

Show source
Register or log in to add new notes.