File Coverage

blib/lib/WebService/Slack/WebApi/Oauth.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package WebService::Slack::WebApi::Oauth;
2 3     3   2220 use strict;
  3         7  
  3         97  
3 3     3   16 use warnings;
  3         8  
  3         75  
4 3     3   15 use utf8;
  3         7  
  3         13  
5              
6 3     3   112 use parent 'WebService::Slack::WebApi::Base';
  3         11  
  3         18  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         57     access => {
10                     client_id => 'Str',
11                     client_secret => 'Str',
12                     code => 'Str',
13                     redirect_uri => { isa => 'Str', optional => 1 },
14                 },
15                 token => {
16                     client_id => 'Str',
17                     client_secret => 'Str',
18                     code => 'Str',
19                     redirect_uri => { isa => 'Str', optional => 1 },
20                     single_channel => { isa => 'Bool', optional => 1 },
21                 },
22 3     3   339 );
  3         7  
23              
24             1;
25              
26