Fastly/Condition.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Fastly/Backend.pm ↑ Summary Fastly/Domain.pm »
1  
2 package Net::Fastly::Condition;
3  
4 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 ▶use base qw(Net::Fastly::BelongsToServiceAndVersion);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 5 Net::Fastly::Backend->mk_accessors(qw(service_id name priority statement type));
8  
9 =head1 NAME
10  
11 Net::Fastly::Condition - Representation of a condition that can apply to first class objects
12  
13 =head1 ACCESSORS
14  
15 =head2 service_id
16  
17 The id of the service this belongs to.
18  
19 =head2 version
20  
21 The number of the version this belongs to.
22  
23 =head2 name
24  
25 The name of the condition
26  
27 =head2 statement
28  
29 The statement of the condition, should be a varnish if statement line
30  
31 =head2 priority
32  
33 What order to run them in, higher priority gets executed after lower priority
34  
35 =head2 type
36  
37 request cache or response
38  
39 request has req. object only
40 cache has req. and beresp.
41 response has req. and resp.
42  
43 =cut
44  
45 5 1;
« Fastly/Backend.pm ↑ Summary Fastly/Domain.pm »