Host/Request/ZoneSet.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package WebService::CloudFlare::Host::Request::ZoneSet;
2 use Moose;
3 with 'WebService::CloudFlare::Host::Role::Request';
4  
5 has 'req_map' => (
6 is => 'ro',
7 isa => 'HashRef[Str]',
8 init_arg => undef,
9 default => sub {{
10 'act' => 'action',
11 'zone_name' => 'zone_name',
12 'user_key' => 'user_key',
13 'resolve_to' => 'resolve_to',
14 'subdomains' => 'subdomains',
15 }},
16 );
17  
18 has 'action' => (
19 is => 'ro',
20 isa => 'Str',
21 init_arg => undef,
22 default => 'zone_set'
23 );
24  
25  
26 has [qw/ user_key zone_name /]
27 => (is => 'ro', isa => 'Str', required => 1);
28  
29 has [qw/ resolve_to subdomains /]
30 => (is => 'ro', isa => 'Str', required => 0);
31  
32 1;