WebApi/Channels.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« WebApi/Bots.pm ↑ Summary WebApi/Conversations.pm »
1 package WebService::Slack::WebApi::Channels;
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use parent 'WebService::Slack::WebApi::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use WebService::Slack::WebApi::Generator (
Subroutine BEGIN: called CC=1 SCAR=0.0
9 3 archive => {
10 channel => 'Str',
11 },
12 create => {
13 name => 'Str',
14 validate => { isa => 'Bool', optional => 1 },
15 },
16 history => {
17 channel => 'Str',
18 count => { isa => 'Int', optional => 1 },
19 inclusive => { isa => 'Bool', optional => 1 },
20 latest => { isa => 'Str', optional => 1 },
21 oldest => { isa => 'Str', optional => 1 },
22 unreads => { isa => 'Bool', optional => 1 },
23 },
24 info => {
25 channel => 'Str',
26 },
27 invite => {
28 channel => 'Str',
29 user => 'Str',
30 },
31 join => {
32 name => 'Str',
33 validate => { isa => 'Bool', optional => 1 },
34 },
35 kick => {
36 channel => 'Str',
37 user => 'Str',
38 },
39 leave => {
40 channel => 'Str',
41 },
42 list => {
43 cursor => { isa => 'Str', optional => 1 },
44 exclude_archived => { isa => 'Bool', optional => 1 },
45 exclude_members => { isa => 'Bool', optional => 1 },
46 limit => { isa => 'Int', optional => 1 },
47 },
48 mark => {
49 channel => 'Str',
50 ts => 'Str',
51 },
52 rename => {
53 channel => 'Str',
54 name => 'Str',
55 validate => { isa => 'Bool', optional => 1 },
56 },
57 replies => {
58 channel => 'Str',
59 thread_ts => 'Str',
60 },
61 set_purpose => {
62 channel => 'Str',
63 purpose => 'Str',
64 },
65 set_topic => {
66 channel => 'Str',
67 topic => 'Str',
68 },
69 unarchive => {
70 channel => 'Str',
71 },
72 3 );
73  
74 3 1;
75  
« WebApi/Bots.pm ↑ Summary WebApi/Conversations.pm »