class
UploadService::DeletionResult
- UploadService::DeletionResult
- Reference
- Object
Overview
Result of deleting a file.
Defined in:
services/upload_service.crConstructors
Instance Method Summary
-
#add_error(field : String, message : String)
Adds an error.
- #deleted_paths : Array(String)
- #deleted_paths=(deleted_paths : Array(String))
- #errors : Hash(String, Array(String))
- #errors=(errors : Hash(String, Array(String)))
-
#success?
Returns
trueif deletion was successful.
Constructor Detail
def self.new(deleted_paths : Array(String) = [] of String, errors : Hash(String, Array(String)) = Hash(String, Array(String)).new)
#