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