method
delete
rails latest stable - Class:
ActiveStorage::Service::GCSService
delete(key)public
No documentation available.
# File activestorage/lib/active_storage/service/gcs_service.rb, line 66
def delete(key)
instrument :delete, key: key do
file_for(key).delete
rescue Google::Cloud::NotFoundError
# Ignore files already deleted
end
end