File Coverage

blib/lib/Net/Async/Slack/Event/AppUninstalled.pm
Criterion Covered Total %
statement 10 15 66.6
branch n/a
condition n/a
subroutine 4 9 44.4
pod 0 6 0.0
total 14 30 46.6


line stmt bran cond sub pod time code
1             package Net::Async::Slack::Event::AppUninstalled;
2              
3 4     4   384371 use strict;
  4         23  
  4         209  
4 4     4   22 use warnings;
  4         7  
  4         360  
5              
6             our $VERSION = '0.015'; # VERSION
7              
8 4     4   699 use Net::Async::Slack::EventType;
  4         10  
  4         35  
9              
10             =head1 NAME
11              
12             Net::Async::Slack::Event::AppUninstalled - Your Slack app was uninstalled.
13              
14             =head1 DESCRIPTION
15              
16             Example input data:
17              
18             {
19             "token": "XXYYZZ",
20             "team_id": "TXXXXXXXX",
21             "api_app_id": "AXXXXXXXXX",
22             "event": {
23             "type": "app_uninstalled"
24             },
25             "type": "event_callback",
26             "event_id": "EvXXXXXXXX",
27             "event_time": 1234567890
28             }
29              
30              
31             =cut
32              
33 0     0 0 0 sub token { shift->{token} }
34              
35 0     0 0 0 sub team_id { shift->{team_id} }
36              
37 0     0 0 0 sub api_app_id { shift->{api_app_id} }
38              
39 0     0 0 0 sub event_id { shift->{event_id} }
40              
41 0     0 0 0 sub event_time { shift->{event_time} }
42              
43 8     8 0 36 sub type { 'app_uninstalled' }
44              
45             1;
46