Auth0/Management/Jobs.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package WebService::Auth0::Management::Jobs;
2  
3 use Moo;
4 extends 'WebService::Auth0::Management::Base';
5 with 'WebService::Auth0::Management::Role::Get',
6  
7 sub path_suffix { 'jobs' }
8  
9 sub errors {
10 my ($self, $job_id) = @_;
11 return $self->GET($self->uri_for($job_id, 'errors'));
12 }
13  
14 sub user_imports {
15 my ($self, $params) = @_;
16 return $self->POST_JSON($self->uri_for('user-imports'), $params);
17 }
18  
19 sub verification_email {
20 my ($self, $params) = @_;
21 return $self->POST_JSON($self->uri_for('verification-email'), $params);
22 }
23  
24 =head1 NAME
25  
26 WebService::Auth0::Management::Jobs - Users management API
27  
28 =head1 SYNOPSIS
29  
30 =head1 DESCRIPTION
31  
32 =head1 METHODS
33  
34 This class defines the following methods:
35  
36 =head2 get ($job_id)
37  
38 Get a job by ID
39  
40 L<https://auth0.com/docs/api/management/v2#!/Jobs/get_jobs_by_id>
41  
42 =head2 errors ($job_id)
43  
44 Errors associated with a $job_id
45  
46 L<https://auth0.com/docs/api/management/v2#!/Jobs/get_errors>
47  
48 =head2 user_imports
49  
50 L<https://auth0.com/docs/api/management/v2#!/Jobs/post_users_imports>
51  
52 =head2 verification_email
53  
54 L<https://auth0.com/docs/api/management/v2#!/Jobs/post_verification_email>
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;