blib/lib/Web/Authenticate/Result/CreateUser.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 package Web::Authenticate::Result::CreateUser;
3 $Web::Authenticate::Result::CreateUser::VERSION = '0.003';
4 use Mouse;
5 #ABSTRACT: The result of calling Web::Authenticate::create_user.
6  
7  
8 has success => (
9 isa => 'Bool',
10 is => 'ro',
11 required => 1,
12 );
13  
14  
15 has user => (
16 does => 'Web::Authenticate::User::Role',
17 is => 'ro',
18 );
19  
20  
21 has failed_username_verifiers => (
22 isa => 'ArrayRef',
23 is => 'ro',
24 default => sub { [] },
25 );
26  
27  
28 has failed_password_verifiers => (
29 isa => 'ArrayRef',
30 is => 'ro',
31 default => sub { [] },
32 );
33  
34 1;
35  
36 __END__
37  
38 =pod
39  
40 =encoding UTF-8
41  
42 =head1 NAME
43  
44 Web::Authenticate::Result::CreateUser - The result of calling Web::Authenticate::create_user.
45  
46 =head1 VERSION
47  
48 version 0.003
49  
50 =head1 METHODS
51  
52 =head2 success
53  
54 Returns 1 if the call to L<Web::Authenticate/create_user> was successful, undef otherwise.
55  
56 =head2 user
57  
58 Returns the user that was created.
59  
60 =head2 failed_username_verifiers
61  
62 Returns the username verifiers that failed if there were any. Default is an empty arrayref.
63  
64 =head2 failed_password_verifiers
65  
66 Returns the password verifiers that failed if there were any. Default is an empty arrayref.
67  
68 =head1 AUTHOR
69  
70 Adam Hopkins <srchulo@cpan.org>
71  
72 =head1 COPYRIGHT AND LICENSE
73  
74 This software is copyright (c) 2017 by Adam Hopkins.
75  
76 This is free software; you can redistribute it and/or modify it under
77 the same terms as the Perl 5 programming language system itself.
78  
79 =cut