BIMI/CacheBackend/Null.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 3 / 3 totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« BIMI/App.pm ↑ Summary BIMI/Constants.pm »
1 package Mail::BIMI::CacheBackend::Null;
2 # ABSTRACT: Cache handling
3 29 our $VERSION = '3.20260302'; # VERSION
4 29 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 29 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 29 ▶use Mail::BIMI::Prelude;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 29 with 'Mail::BIMI::Role::CacheBackend';
9  
10  
11  
12 ▶sub get_from_cache($self) {
Subroutine get_from_cache: called CC=1 SCAR=0.0
Pod documented
13 59 return;
14 }
15  
16  
17 ▶sub put_to_cache($self,$data) {
Subroutine put_to_cache: called CC=1 SCAR=0.0
Pod documented
18 2 return;
19 }
20  
21  
22 ▶sub delete_cache($self) {
Subroutine delete_cache: called CC=1 SCAR=0.0
Pod documented
23 1 return;
24 }
25  
26 29 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 Mail::BIMI::CacheBackend::Null - Cache handling
37  
38 =head1 VERSION
39  
40 version 3.20260302
41  
42 =head1 DESCRIPTION
43  
44 Cache worker Role for Null storage
45  
46 =head1 ATTRIBUTES
47  
48 These values are derived from lookups and verifications made based upon the input values, it is however possible to override these with other values should you wish to, for example, validate a record before it is published in DNS, or validate an Indicator which is only available locally
49  
50 =head2 parent
51  
52 is=ro required
53  
54 Parent class for cacheing
55  
56 =head1 CONSUMES
57  
58 =over 4
59  
60 =item * L<Mail::BIMI::Role::CacheBackend>
61  
62 =back
63  
64 =head1 EXTENDS
65  
66 =over 4
67  
68 =item * L<Moose::Object>
69  
70 =back
71  
72 =head1 METHODS
73  
74 =head2 I<get_from_cache()>
75  
76 Retrieve this class data from cache
77  
78 =head2 I<put_to_cache($data)>
79  
80 Put this classes data into the cache
81  
82 =head2 I<delete_cache>
83  
84 Delete the cache entry for this class
85  
86 =head1 REQUIRES
87  
88 =over 4
89  
90 =item * L<Mail::BIMI::Prelude|Mail::BIMI::Prelude>
91  
92 =item * L<Moose|Moose>
93  
94 =back
95  
96 =head1 AUTHOR
97  
98 Marc Bradshaw <marc@marcbradshaw.net>
99  
100 =head1 COPYRIGHT AND LICENSE
101  
102 This software is copyright (c) 2020 by Marc Bradshaw.
103  
104 This is free software; you can redistribute it and/or modify it under
105 the same terms as the Perl 5 programming language system itself.
106  
107 =cut
« BIMI/App.pm ↑ Summary BIMI/Constants.pm »