line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Auth0::Management::Role::All; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
9691
|
use Moo::Role; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
requires 'GET', 'uri_for'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub all { |
8
|
0
|
|
|
0
|
1
|
|
my ($self) = @_; |
9
|
0
|
|
|
|
|
|
return $self->GET($self->uri_for(+{})); |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
WebService::Auth0::Management::Role::All - Role that provides a 'all' API method |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPSIS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
package WebService::Auth0::Management::Users; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
use Moo; |
24
|
|
|
|
|
|
|
extends 'WebService::Auth0::Management::Base'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
with 'WebService::Auth0::Management::Role::All'; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub path_suffix { 'users' } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Other custom methods for the Endpoint |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Helper role |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 METHODS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This class defines the following methods: |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 all |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Gets all the items on the endpoint |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SEE ALSO |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
L, L. |
49
|
|
|
|
|
|
|
L |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHOR |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
See L |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
See L |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
1; |