class

UploadService::DeletionResult

Inherits Reference < Object

Result of deleting a file.

Constructors

new(deleted_paths : Array(String) = [] of String, errors : Hash(String, Array(String)) = Hash(String, Array(String)).new)
Source

Instance methods

add_error(field : String, message : String)

Adds an error.

Source
deleted_paths
Source
deleted_paths=(deleted_paths : Array(String))
Source
errors
Source
errors=(errors : Hash(String, Array(String)))
Source
success?

Returns true if deletion was successful.

Source