Helper/View/Email/Template.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
mk_compclass
2.0
BEGIN
2.0
CRAP 2.0
1 package Catalyst::Helper::View::Email::Template;
2  
3 use strict;
4 our $VERSION = '0.36';
5 $VERSION = eval $VERSION;
6  
7 =head1 NAME
8  
9 Catalyst::Helper::View::Email::Template - Helper for Templated Email Views
10  
11 =head1 SYNOPSIS
12  
13 $ script/myapp_create.pl view Email::Template Email::Template
14  
15 =head1 DESCRIPTION
16  
17 Helper for Template-based Email Views.
18  
19 =head2 METHODS
20  
21 =head3 mk_compclass
22  
23 =cut
24  
25 sub mk_compclass {
26 my ( $self, $helper ) = @_;
27 my $file = $helper->{file};
28 $helper->render_file( 'compclass', $file );
29 }
30  
31 =head1 SEE ALSO
32  
33 L<Catalyst::View::Email>
34  
35 L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>,
36 L<Catalyst::Response>, L<Catalyst::Helper>
37  
38 =head1 AUTHOR
39  
40 J. Shirley C<jshirley@gmail.com>
41  
42 =head1 LICENSE
43  
44 This library is free software . You can redistribute it and/or modify
45 it under the same terms as perl itself.
46  
47 =cut
48  
49 1;
50  
51 __DATA__