Auth0/Management/ClientGrants.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
path_suffix
2.0
all
2.0
BEGIN
2.0
CRAP 2.0
1 package WebService::Auth0::Management::ClientGrants;
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  
10 sub path_suffix { 'client-grants' }
11  
12 sub all { return shift->search(+{}) }
13  
14 =head1 NAME
15  
16 WebService::Auth0::Management::Users - Users management API
17  
18 =head1 SYNOPSIS
19  
20 =head1 DESCRIPTION
21  
22 =head1 METHODS
23  
24 This class defines the following methods:
25  
26 =head2 search (\%params)
27  
28 L<https://auth0.com/docs/api/management/v2#!/Client_Grants/get_client_grants>
29  
30 Either get all the client grants, or search for client grants filterd by
31 audience.
32  
33 =head2 all
34  
35 Gets all the client grants. Is basically a shortcut for '->search(+{})'. See
36 L<https://auth0.com/docs/api/management/v2#!/Client_Grants/get_client_grants> for
37 more.
38  
39 =head2 create (\%params)
40  
41 L<https://auth0.com/docs/api/management/v2#!/Client_Grants/post_client_grants>
42  
43 =head2 delete ($client_grant_id)
44  
45 L<https://auth0.com/docs/api/management/v2#!/Client_Grants/delete_client_grants_by_id>
46  
47 =head2 update ($client_grant_id, \%params)
48  
49 L<https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id>
50  
51 =head1 SEE ALSO
52
53 L<WebService::Auth0>, L<https://auth0.com>.
54  
55 =head1 AUTHOR
56
57 See L<WebService::Auth0>
58
59 =head1 COPYRIGHT & LICENSE
60
61 See L<WebService::Auth0>
62  
63 =cut
64  
65 1;