GitHub/V3/OAuth.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GitHub/V3/GitData.pm ↑ Summary
1 package Net::GitHub::V3::OAuth;
2  
3 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $VERSION = '1.03';
6 1 our $AUTHORITY = 'cpan:FAYLAND';
7  
8 1 ▶use URI::Escape;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 with 'Net::GitHub::V3::Query';
11  
12 ## build methods on fly
13 1 my %__methods = (
14  
15 authorizations => { url => "/authorizations" },
16  
17 get_authorization => { url => "/authorizations/%s" },
18 authorization => { url => "/authorizations/%s" },
19  
20 create_authorization => { url => "/authorizations", method => "POST", args => 1 },
21 update_authorization => { url => "/authorizations/%s", method => "PATCH", args => 1 },
22 delete_authorization => { url => "/authorizations/%s", method => "DELETE", check_status => 204 },
23  
24 );
25 1 __build_methods(__PACKAGE__, %__methods);
26  
27 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 1 1;
30 __END__
« GitHub/V3/GitData.pm ↑ Summary