File Coverage

blib/lib/WebService/Slack/WebApi/Im.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::Im;
2 3     3   3428 use strict;
  3         9  
  3         127  
3 3     3   16 use warnings;
  3         6  
  3         189  
4 3     3   20 use utf8;
  3         8  
  3         22  
5              
6 3     3   116 use parent 'WebService::Slack::WebApi::Base';
  3         6  
  3         22  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         76 close => {
10             channel => 'Str',
11             },
12             history => {
13             channel => 'Str',
14             count => { isa => 'Int', optional => 1 },
15             inclusive => { isa => 'Bool', optional => 1 },
16             latest => { isa => 'Str', optional => 1 },
17             oldest => { isa => 'Str', optional => 1 },
18             unreads => { isa => 'Bool', optional => 1 },
19             },
20             list => {
21             cursor => { isa => 'Str', optional => 1 },
22             limit => { isa => 'Int', optional => 1 },
23             },
24             mark => {
25             channel => 'Str',
26             ts => 'Str',
27             },
28             open => {
29             user => 'Str',
30             return_im => { isa => 'Bool', optional => 1 },
31             },
32             replies => {
33             channel => 'Str',
34             thread_ts => 'Str',
35             },
36 3     3   1511 );
  3         8  
37              
38             1;
39