Host/Request/UserCreate.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package WebService::CloudFlare::Host::Request::UserCreate;
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 cloudflare_email => 'email',
12 cloudflare_pass => 'pass',
13 cloudflare_username => 'user',
14 unique_id => 'unique_id',
15 clobber_unique_id => 'clobber',
16 }},
17 );
18  
19 has 'action' => (
20 is => 'ro',
21 isa => 'Str',
22 init_arg => undef,
23 default => 'user_create'
24 );
25  
26  
27 has [qw/ email pass /]
28 => (is => 'ro', isa => 'Str', required => 1);
29
30 has [qw/user unique_id clobber/]
31 => (is => 'ro', isa => 'Str', required => 0);
32  
33 1;