File Coverage

blib/lib/Email/MIME/Kit/Role/Assembler.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Email::MIME::Kit::Role::Assembler 3.000008;
2             # ABSTRACT: things that assemble messages (or parts)
3              
4 5     5   10388 use v5.20.0;
  5         19  
5 5     5   32 use Moose::Role;
  5         12  
  5         37  
6             with 'Email::MIME::Kit::Role::Component';
7              
8             #pod =head1 IMPLEMENTING
9             #pod
10             #pod This role also performs L<Email::MIME::Kit::Role::Component>.
11             #pod
12             #pod Classes implementing this role must provide an C<assemble> method. This method
13             #pod will be passed a hashref of assembly parameters, and should return the fully
14             #pod assembled Email::MIME object.
15             #pod
16             #pod =cut
17              
18             requires 'assemble';
19              
20 5     5   16764 no Moose::Role;
  5         10  
  5         74  
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Email::MIME::Kit::Role::Assembler - things that assemble messages (or parts)
32              
33             =head1 VERSION
34              
35             version 3.000008
36              
37             =head1 PERL VERSION
38              
39             This library should run on perls released even a long time ago. It should
40             work on any version of perl released in the last five years.
41              
42             Although it may work on older versions of perl, no guarantee is made that the
43             minimum required version will not be increased. The version may be increased
44             for any reason, and there is no promise that patches will be accepted to
45             lower the minimum required perl.
46              
47             =head1 IMPLEMENTING
48              
49             This role also performs L<Email::MIME::Kit::Role::Component>.
50              
51             Classes implementing this role must provide an C<assemble> method. This method
52             will be passed a hashref of assembly parameters, and should return the fully
53             assembled Email::MIME object.
54              
55             =head1 AUTHOR
56              
57             Ricardo Signes <cpan@semiotic.systems>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2023 by Ricardo Signes.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut