File Coverage

blib/lib/WebService/Slack/WebApi/Reactions.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::Reactions;
2 1     1   803 use strict;
  1         2  
  1         35  
3 1     1   6 use warnings;
  1         2  
  1         30  
4 1     1   5 use utf8;
  1         3  
  1         7  
5              
6 1     1   30 use parent 'WebService::Slack::WebApi::Base';
  1         2  
  1         6  
7              
8             use WebService::Slack::WebApi::Generator (
9 1         31     add => {
10                     name => 'Str',
11                     channel => { isa => 'Str', optional => 1 },
12                     file => { isa => 'Str', optional => 1 },
13                     file_comment => { isa => 'Str', optional => 1 },
14                     timestamp => { isa => 'Str', optional => 1 },
15                 },
16                 get => {
17                     channel => { isa => 'Str', optional => 1 },
18                     file => { isa => 'Str', optional => 1 },
19                     file_comment => { isa => 'Str', optional => 1 },
20                     full => { isa => 'Bool', optional => 1 },
21                     timestamp => { isa => 'Str', optional => 1 },
22                 },
23                 list => {
24                     count => { isa => 'Int', optional => 1 },
25                     full => { isa => 'Bool', optional => 1 },
26                     page => { isa => 'Int', optional => 1 },
27                     user => { isa => 'Str', optional => 1 },
28                 },
29                 remove => {
30                     name => 'Str',
31                     channel => { isa => 'Str', optional => 1 },
32                     file => { isa => 'Str', optional => 1 },
33                     file_comment => { isa => 'Str', optional => 1 },
34                     timestamp => { isa => 'Str', optional => 1 },
35                 },
36 1     1   185 );
  1         11  
37              
38             1;
39              
40