File Coverage

blib/lib/Mail/SendGrid/Bounce.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Mail::SendGrid::Bounce;
2             $Mail::SendGrid::Bounce::VERSION = '0.09';
3             # ABSTRACT: data object that holds information about a SendGrid bounce
4 2     2   11 use strict;
  2         5  
  2         83  
5 2     2   12 use warnings;
  2         4  
  2         47  
6              
7 2     2   33 use 5.008;
  2         7  
8 2     2   14 use Moo 1.006;
  2         28  
  2         15  
9              
10             has 'email' => (is => 'ro', required => 1);
11             has 'created' => (is => 'ro', required => 1);
12             has 'status' => (is => 'ro', required => 1);
13             has 'reason' => (is => 'ro', required => 1);
14              
15             1;
16              
17             __END__