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.
validate
Process and validate parameter. Takes reference as the input paramter.
$p->validate(\$value);