File Coverage

blib/lib/WebService/Slack/WebApi/Conversations.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::Conversations;
2 3     3   2450 use strict;
  3         8  
  3         93  
3 3     3   16 use warnings;
  3         6  
  3         85  
4 3     3   15 use utf8;
  3         51  
  3         18  
5              
6 3     3   93 use parent 'WebService::Slack::WebApi::Base';
  3         43  
  3         20  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         152 archive => {
10             channel => 'Str',
11             },
12             close => {
13             channel => 'Str',
14             },
15             create => {
16             name => 'Str',
17             is_private => { isa => 'Bool', optional => 1 },
18             user_ids => { isa => 'Str', optional => 1 },
19             },
20             history => {
21             channel => 'Str',
22             cursor => { isa => 'Str', optional => 1 },
23             inclusive => { isa => 'Bool', optional => 1 },
24             latest => { isa => 'Str', optional => 1 },
25             oldest => { isa => 'Str', optional => 1 },
26             },
27             info => {
28             channel => 'Str',
29             include_locale => { isa => 'Bool', optional => 1 },
30             },
31             invite => {
32             channel => 'Str',
33             user => 'Str',
34             },
35             join => {
36             channel => 'Str',
37             },
38             kick => {
39             channel => 'Str',
40             user => 'Str',
41             },
42             leave => {
43             channel => 'Str',
44             },
45             list => {
46             cursor => { isa => 'Str', optional => 1 },
47             exclude_archived => { isa => 'Bool', optional => 1 },
48             limit => { isa => 'Int', optional => 1 },
49             types => { isa => 'Str', optional => 1 },
50             },
51             members => {
52             channel => 'Str',
53             cursor => { isa => 'Str', optional => 1 },
54             limit => { isa => 'Int', optional => 1 },
55             },
56             open => {
57             channel => { isa => 'Str', optional => 1 },
58             return_im => { isa => 'Bool', optional => 1 },
59             users => { isa => 'Str', optional => 1 },
60             },
61             rename => {
62             channel => 'Str',
63             name => 'Str',
64             },
65             replies => {
66             channel => 'Str',
67             ts => 'Str',
68             cursor => { isa => 'Str', optional => 1 },
69             inclusive => { isa => 'Bool', optional => 1 },
70             latest => { isa => 'Str', optional => 1 },
71             limit => { isa => 'Int', optional => 1 },
72             oldest => { isa => 'Str', optional => 1 },
73             },
74             set_purpose => {
75             channel => 'Str',
76             purpose => 'Str',
77             },
78             set_topic => {
79             channel => 'Str',
80             topic => 'Str',
81             },
82             unarchive => {
83             channel => 'Str',
84             },
85 3     3   1413 );
  3         8  
86              
87             1;
88