| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package App::SpamcupNG::Warning::Yum; | 
| 2 | 12 |  |  | 12 |  | 80 | use strict; | 
|  | 12 |  |  |  |  | 24 |  | 
|  | 12 |  |  |  |  | 346 |  | 
| 3 | 12 |  |  | 12 |  | 67 | use warnings; | 
|  | 12 |  |  |  |  | 21 |  | 
|  | 12 |  |  |  |  | 308 |  | 
| 4 | 12 |  |  | 12 |  | 63 | use parent 'App::SpamcupNG::Warning'; | 
|  | 12 |  |  |  |  | 34 |  | 
|  | 12 |  |  |  |  | 96 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 |  |  |  |  |  |  | our $VERSION = '0.017'; # VERSION | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | =head1 NAME | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | App::SpamcupNG::Warning::Yum - representation of a warning about the SPAM | 
| 11 |  |  |  |  |  |  | report being fresh. | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | See L<App::SpamcupNG::Warning::Factory> instead. | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | Everytime Spamcop receives a SPAM report that it considers as fresh, this | 
| 20 |  |  |  |  |  |  | warning is available on the website HTML. | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 METHODS | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =head2 new | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | Overrided from parent class. | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =cut | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | sub new { | 
| 31 | 1 |  |  | 1 | 1 | 5 | my ( $class, $messages_ref ) = @_; | 
| 32 | 1 |  |  |  |  | 79 | my $self = $class->SUPER::new( [ $messages_ref->[0] ] ); | 
| 33 | 1 |  |  |  |  | 13 | return $self; | 
| 34 |  |  |  |  |  |  | } | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =head2 message | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | Overrided from parent class. | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =cut | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | sub message { | 
| 43 | 1 |  |  | 1 | 1 | 4 | my $self = shift; | 
| 44 | 1 |  |  |  |  | 7 | return $self->{message}->[0]; | 
| 45 |  |  |  |  |  |  | } | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | =head1 AUTHOR | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt> | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  | This software is copyright (c) 2018 of Alceu Rodrigues de Freitas Junior, | 
| 54 |  |  |  |  |  |  | E<lt>arfreitas@cpan.orgE<gt> | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  | This file is part of App-SpamcupNG distribution. | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | App-SpamcupNG is free software: you can redistribute it and/or modify it under | 
| 59 |  |  |  |  |  |  | the terms of the GNU General Public License as published by the Free Software | 
| 60 |  |  |  |  |  |  | Foundation, either version 3 of the License, or (at your option) any later | 
| 61 |  |  |  |  |  |  | version. | 
| 62 |  |  |  |  |  |  |  | 
| 63 |  |  |  |  |  |  | App-SpamcupNG is distributed in the hope that it will be useful, but WITHOUT | 
| 64 |  |  |  |  |  |  | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | 
| 65 |  |  |  |  |  |  | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | 
| 66 |  |  |  |  |  |  |  | 
| 67 |  |  |  |  |  |  | You should have received a copy of the GNU General Public License along with | 
| 68 |  |  |  |  |  |  | App-SpamcupNG. If not, see <http://www.gnu.org/licenses/>. | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | =cut | 
| 71 |  |  |  |  |  |  |  | 
| 72 |  |  |  |  |  |  | 1; |