File Coverage

blib/lib/WebService/Slack/WebApi/Pins.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::Pins;
2 3     3   2392 use strict;
  3         8  
  3         92  
3 3     3   17 use warnings;
  3         6  
  3         76  
4 3     3   15 use utf8;
  3         7  
  3         17  
5              
6 3     3   76 use parent 'WebService::Slack::WebApi::Base';
  3         7  
  3         17  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         47 add => {
10             channel => 'Str',
11             file => { isa => 'Str', optional => 1 },
12             file_comment => { isa => 'Str', optional => 1 },
13             timestamp => { isa => 'Str', optional => 1 },
14             },
15             list => {
16             channel => 'Str',
17             },
18             remove => {
19             channel => 'Str',
20             file => { isa => 'Str', optional => 1 },
21             file_comment => { isa => 'Str', optional => 1 },
22             timestamp => { isa => 'Str', optional => 1 },
23             },
24 3     3   401 );
  3         9  
25              
26             1;