NAME

Dancer::Plugin::DataTransposeValidator::Validator - validator class for Dancer::Plugin::DataTransposeValidator

METHODS

additional_args

Any additional arguments passed in to validator are passed as arguments to "rules_file" if it contains a code reference.

appdir

Dancer's appdir. Required.

css_error_class

Returns the value supplied via "plugin_setting" or 'has-error'.

params

Hash reference of params to validate. Required.

plugin_setting

plugin_setting hash reference. Required.

rules_dir

rules_dir setting from "plugin_setting" or 'validation' if that is undef

rules_file

The name of the rules file. Required.

rules

The rules produced via eval of "rules_file"

transpose

Uses Data::Transpose::Validator to transpose and validate "params".