Class: Shrine::Derivation::Delete

Inherits:
Derivation::Command
  • Object
show all
Defined in:
lib/shrine/plugins/derivation_endpoint.rb

Instance Method Summary collapse

Instance Method Details

#callObject

Deletes the uploaded derivation result from the storage.



698
699
700
# File 'lib/shrine/plugins/derivation_endpoint.rb', line 698

def call
  storage.delete(upload_location)
end