File Coverage

blib/lib/Email/Sender/Success/Partial.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Email::Sender::Success::Partial 2.500;
2             # ABSTRACT: a report of partial success when delivering
3              
4 5     5   38 use Moo;
  5         13  
  5         36  
5             extends 'Email::Sender::Success';
6              
7 5     5   1836 use MooX::Types::MooseLike::Base qw(InstanceOf);
  5         11  
  5         330  
8              
9             #pod =head1 DESCRIPTION
10             #pod
11             #pod These objects indicate that some delivery was accepted for some recipients and
12             #pod not others. The success object's C attribute will return a
13             #pod L describing which parts of the delivery failed.
14             #pod
15             #pod =cut
16              
17 5     5   45 use Email::Sender::Failure::Multi;
  5         11  
  5         290  
18              
19             has failure => (
20             is => 'ro',
21             isa => InstanceOf['Email::Sender::Failure::Multi'],
22             required => 1,
23             );
24              
25 5     5   46 no Moo;
  5         11  
  5         22  
26             1;
27              
28             __END__