File Coverage

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