method

purge

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: Blob
purge() public

Destroys the blob record and then deletes the file on the service. This is the recommended way to dispose of unwanted blobs. Note, though, that deleting the file off the service will initiate an HTTP connection to the service, which may be slow or prevented, so you should not use this method inside a transaction or in callbacks. Use #purge_later instead.

Show source
Register or log in to add new notes.