Auth0/Management/Emails.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 5 totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
path_suffix
2.0
get
2.0
delete
2.0
CRAP 2.0
1 package WebService::Auth0::Management::Emails;
2  
3 use Moo;
4 extends 'WebService::Auth0::Management::Base';
5  
6 sub path_suffix { 'emails' }
7  
8 sub get {
9 my ($self) = @_;
10 return $self->GET($self->uri_for());
11 }
12  
13 sub delete {
14 my ($self) = @_;
15 return $self->DELETE($self->uri_for());
16 }
17  
18 sub configure {
19 my ($self, $data) = @_;
20 return $self->POST_JSON($self->uri_for(), $data);
21 }
22  
23 sub update {
24 my ($self, $data) = @_;
25 return $self->PATCH_JSON($self->uri_for(), $data);
26 }
27  
28 =head1 NAME
29  
30 WebService::Auth0::Management::Emails - Users management API
31  
32 =head1 SYNOPSIS
33  
34 =head1 DESCRIPTION
35  
36 =head1 METHODS
37  
38 This class defines the following methods:
39  
40 =head2 get
41  
42 L<https://auth0.com/docs/api/management/v2#!/Emails/get_provider>
43  
44 =head2 delete
45  
46 L<https://auth0.com/docs/api/management/v2#!/Emails/delete_provider>
47  
48 =head2 configure (\%params)
49  
50 L<https://auth0.com/docs/api/management/v2#!/Emails/post_provider>
51  
52 =head2 update (\%params)
53  
54 L<https://auth0.com/docs/api/management/v2#!/Emails/patch_provider>
55  
56 =head1 SEE ALSO
57
58 L<WebService::Auth0>, L<https://auth0.com>.
59  
60 =head1 AUTHOR
61
62 See L<WebService::Auth0>
63
64 =head1 COPYRIGHT & LICENSE
65
66 See L<WebService::Auth0>
67  
68 =cut
69  
70 1;