package Email::MIME::Kit::Role::Validator; # ABSTRACT: things that validate assembly parameters $Email::MIME::Kit::Role::Validator::VERSION = '3.000006'; use Moose::Role; #pod =head1 IMPLEMENTING #pod #pod This role also performs L. #pod #pod Classes implementing this role are used to validate that the arguments passed #pod to C<< $mkit->assemble >> are valid. Classes must provide a C method #pod which will be called with the hashref of values passed to the kit's C #pod method. If the arguments are not valid for the kit, the C method #pod should raise an exception. #pod #pod =cut with 'Email::MIME::Kit::Role::Component'; requires 'validate'; no Moose::Role; 1; __END__ =pod =encoding UTF-8 =head1 NAME Email::MIME::Kit::Role::Validator - things that validate assembly parameters =head1 VERSION version 3.000006 =head1 IMPLEMENTING This role also performs L. Classes implementing this role are used to validate that the arguments passed to C<< $mkit->assemble >> are valid. Classes must provide a C method which will be called with the hashref of values passed to the kit's C method. If the arguments are not valid for the kit, the C method should raise an exception. =head1 AUTHOR Ricardo Signes =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2018 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut