Sietima/Role/WithMailStore.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Sietima/Role/SubscriberOnly/Drop.pm ↑ Summary Sietima/Role/WithOwner.pm »
1 package Sietima::Role::WithMailStore;
2 3 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use Sietima::Policy;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use Sietima::Types qw(MailStore MailStoreFromHashRef);
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '1.1.5'; # VERSION
8 # ABSTRACT: role for lists with a store for messages
9  
10  
11 3 has mail_store => (
12 is => 'ro',
13 isa => MailStore,
14 required => 1,
15 coerce => MailStoreFromHashRef,
16 );
17  
18 3 1;
19  
20 __END__
« Sietima/Role/SubscriberOnly/Drop.pm ↑ Summary Sietima/Role/WithOwner.pm »