WebApi/Oauth.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« WebApi/Migration.pm ↑ Summary WebApi/Pins.pm »
1 package WebService::Slack::WebApi::Oauth;
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use parent 'WebService::Slack::WebApi::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use WebService::Slack::WebApi::Oauth::V2;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use Class::Accessor::Lite::Lazy (
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ro_lazy => [qw/ v2 /],
12 3 );
13  
14 3 ▶use WebService::Slack::WebApi::Generator (
Subroutine BEGIN: called CC=1 SCAR=0.0
15 3 access => {
16 client_id => 'Str',
17 client_secret => 'Str',
18 code => 'Str',
19 redirect_uri => { isa => 'Str', optional => 1 },
20 },
21 token => {
22 client_id => 'Str',
23 client_secret => 'Str',
24 code => 'Str',
25 redirect_uri => { isa => 'Str', optional => 1 },
26 single_channel => { isa => 'Bool', optional => 1 },
27 },
28 3 );
29  
30 3 ▶sub _build_v2 {
Subroutine _build_v2: called CC=1 SCAR=0.0
31 3 return WebService::Slack::WebApi::Oauth::V2->new(client => shift->client);
32 }
33  
34 3 1;
35  
« WebApi/Migration.pm ↑ Summary WebApi/Pins.pm »