Skip to content

enum Athena::Framework::UploadedFile::Status #

Represents the status of an uploaded file. A successful upload would have a status of OK, otherwise the enum member denotes the reason why the upload failed.

Todo

Maybe add more status members?

Members#

OK = 0#

Represents a successful upload.

SIZE_LIMIT_EXCEEDED = 1#

Represents a failed upload due to the file being larger than the configured max allowed size.

Methods#

#ok?#

Returns true if this enum value equals OK

View source

#size_limit_exceeded?#

Returns true if this enum value equals SIZE_LIMIT_EXCEEDED

View source