blib/lib/GDPR/IAB/TCFv2/Constants/RestrictionType.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a 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
« blib/lib/GDPR/IAB/TCFv2/Constants/Purpose.pm ↑ Summary blib/lib/GDPR/IAB/TCFv2/Constants/SpecialFeature.pm »
1 package GDPR::IAB::TCFv2::Constants::RestrictionType 0.530;
2 73 ▶use v5.12;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 73 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 73 require Exporter;
6 73 ▶use parent qw<Exporter>;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 73 ▶use constant {NotAllowed => 0, RequireConsent => 1, RequireLegitimateInterest => 2,};
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 73 ▶use constant RestrictionTypeDescription => {
Subroutine BEGIN: called CC=1 SCAR=0.0
11 NotAllowed => "Purpose Flatly Not Allowed by Publisher",
12 RequireConsent => "Require Consent",
13 RequireLegitimateInterest => "Require Legitimate Interest",
14 73 };
15  
16 73 our @EXPORT_OK = qw<
17 NotAllowed
18 RequireConsent
19 RequireLegitimateInterest
20 RestrictionTypeDescription
21 >;
22  
23 73 our %EXPORT_TAGS = (all => \@EXPORT_OK);
24  
25 73 1;
26  
27 __END__
« blib/lib/GDPR/IAB/TCFv2/Constants/Purpose.pm ↑ Summary blib/lib/GDPR/IAB/TCFv2/Constants/SpecialFeature.pm »