class Shrine::Derivation::Delete

Public Instance Methods

call() click to toggle source

Deletes the uploaded derivation result from the storage.

# File lib/shrine/plugins/derivation_endpoint.rb, line 696
def call
  storage.delete(upload_location)
end

Private Instance Methods

storage() click to toggle source
# File lib/shrine/plugins/derivation_endpoint.rb, line 702
def storage
  shrine_class.find_storage(upload_storage)
end