Class: Shrine::Derivation::Delete

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

Instance Attribute Summary

Attributes inherited from Command

#derivation

Instance Method Summary collapse

Methods inherited from Command

delegate, #initialize

Constructor Details

This class inherits a constructor from Shrine::Derivation::Command

Instance Method Details

#callObject

Deletes the uploaded derivation result from the storage.



691
692
693
# File 'lib/shrine/plugins/derivation_endpoint.rb', line 691

def call
  storage.delete(upload_location)
end