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   2171 use strict;
  3         15  
  3         93  
3 3     3   18 use warnings;
  3         6  
  3         73  
4 3     3   14 use utf8;
  3         13  
  3         14  
5              
6 3     3   75 use parent 'WebService::Slack::WebApi::Base';
  3         13  
  3         14  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         56     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   392 );
  3         7  
25              
26             1;
27