NAME
WebService::Mattermost::V4::API::Role::RequireID - ID validation.
VERSION
version 0.29
DESCRIPTION
Validate that the first parameter passed to a subroutine is a valid UUID for Mattermost.
METHODS
validate_id()
-
Validate the ID and run the next subroutine.
validate_id_no_next()
-
Validate the ID but do not run the next subroutine.
ATTRIBUTES
id_validation_regexp
-
Basic UUID matching regular expression.
AUTHOR
Mike Jones <mike@netsplit.org.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2020 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License