17 May 2014 22:18:18 UTC
- Distribution: Dancer-Plugin-Params-Normalization
- Module version: 0.52
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (776 / 0 / 0)
- KwaliteeBus factor: 1
- 92.00% Coverage
- License: perl_5
- Activity24 month
- Download (15.53KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- Abstract Methods
- Inherited Methods
- SEE ALSO
- COPYRIGHT AND LICENSE
Dancer::Plugin::Params::Normalization::Abstract - class for custom parameters normalization
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.
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.
Module Install Instructions
To install Dancer::Plugin::Params::Normalization, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Dancer::Plugin::Params::Normalization
For more information on module installation, please visit the detailed CPAN module installation guide.