NAME
Raisin::Param - Parameter class for Raisin.
DESCRIPTION
Parameter class for Raisin. Validates request paramters.
default
Returns default value if exists or undef.
desc
Returns parameter description.
name
Returns parameter name.
named
Returns true if it's path parameter.
regex
Return paramter regex if exists or undef.
required { shift->{required} }
Returns true if it's required parameter.
type
Returns parameter type object.
in
Returns the location of the parameter: query, header, path, formData, body.
validate
Process and validate parameter. Takes reference as the input paramter.
$p->validate(\$value);
AUTHOR
Artur Khabibullin - rtkh <at> cpan.org
LICENSE
This module and all the modules in this package are governed by the same license as Perl itself.