Auth0/Management/Connections.pm untested

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