Dancer::Plugin::Params::Normalization::Abstract - class for custom parameters normalization
version 0.51
This virtual class describes how to build a custom normalization object for Dancer::Plugin::Params::Normalization. This is done in order to allow custom transformation of the parameters with a common interface.
Any custom normalization package must inherits from Dancer::Plugin::Params::Normalization::Abstract and implement the following abstract methods.
Is called once, on initialization of the class. Can be used to create needed initialization objects, like a database connection, etc.
Receives a hashref that contains the parameters keys/value. It should return a hashref (it can be the same), containing modified parameters.
Dancer::Plugin::Params::Normalization::Abstract - abstract class for custom parameters normalization
None for now.
Dancer, Dancer::Engine
Damien "dams" Krotkine
This software is copyright (c) 2011 by Damien "dams" Krotkine.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer::Plugin::Params::Normalization, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::Params::Normalization
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::Params::Normalization
For more information on module installation, please visit the detailed CPAN module installation guide.