File Coverage

blib/lib/Net/Async/Slack/Event/SlashCommands.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1             package Net::Async::Slack::Event::SlashCommands;
2              
3 3     3   277939 use strict;
  3         7  
  3         115  
4 3     3   12 use warnings;
  3         5  
  3         281  
5              
6             our $VERSION = '0.015'; # VERSION
7              
8 3     3   412 use Net::Async::Slack::EventType;
  3         8  
  3         20  
9              
10             =head1 NAME
11              
12             Net::Async::Slack::Event::SlashCommands - /commands
13              
14             =head1 DESCRIPTION
15              
16             Example input data:
17              
18             {
19             "type": "slash_commands",
20             "user": "U061F7AUR",
21             "channel": "D0LAN2Q65",
22             "event_ts": "1515449522000016"
23             }
24              
25             =cut
26              
27 6     6 0 21 sub type { 'slash_commands' }
28              
29             1;
30              
31             __END__