blib/lib/Jifty/Plugin/JapaneseNotification.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« /home/cpancover/.cpan/CPAN/MyConfig.pm ↑ Summary
1 package Jifty::Plugin::JapaneseNotification;
2  
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use base qw/Jifty::Plugin/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = '0.01';
9  
10 =encoding utf8
11  
12 =head1 NAME
13  
14 Jifty::Plugin::JapaneseNotification - Send emails from Jifty with Japanese character code
15  
16 =head1 SYNOPSIS
17  
18 Add the following to your site_config.yml
19  
20 framework:
21 Plugins:
22 - JapaneseNotification: {}
23  
24 in your application
25  
26 use utf8;
27  
28 my $notification =
29 Jifty->app_class('Notification', 'ISO2022JP')->new(
30 from => 'Pikari <pi@null.in>',
31 to => 'Keronyo <ke@null.in>',
32 subject => 'Hello!',
33 body => 'FumoFumo--',
34 );
35 $notification->send;
36  
37 =cut
38  
39 =head1 AUTHOR
40  
41 Tomohiro Hosaka, C<< <bokutin at bokut.in> >>
42  
43 =head1 COPYRIGHT & LICENSE
44  
45 Copyright 2008 Tomohiro Hosaka, all rights reserved.
46  
47 This program is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.
49  
50 =cut
51  
52 2 1; # End of Jifty::Plugin::JapaneseNotification
« /home/cpancover/.cpan/CPAN/MyConfig.pm ↑ Summary