Raisin::Param - Parameter class for Raisin.
Parameter class for Raisin. Validates request paramters.
Returns coerce flag. If true attempt to coerce a value will be made at validate stage.
true
By default set to true.
Returns default value if exists or undef.
undef
Returns parameter description.
Returns parameter name.
An alias to "name" in Raisin::Param.
Returns true if it's path parameter.
Return paramter regex if exists or undef.
Returns true if it's required parameter.
Returns parameter type object.
Returns the location of the parameter: query, header, path, formData, body.
Process and validate parameter. Takes reference as the input paramter.
$p->validate(\$value);
Artur Khabibullin - rtkh <at> cpan.org
This module and all the modules in this package are governed by the same license as Perl itself.
To install Raisin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Raisin
CPAN shell
perl -MCPAN -e shell install Raisin
For more information on module installation, please visit the detailed CPAN module installation guide.