
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.


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.