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   2496 use strict;
  3         7  
  3         92  
3 3     3   15 use warnings;
  3         15  
  3         72  
4 3     3   16 use utf8;
  3         5  
  3         18  
5              
6 3     3   90 use parent 'WebService::Slack::WebApi::Base';
  3         7  
  3         17  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         55 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   888 );
  3         7  
37              
38             1;
39