Slack/Event/AppUninstalled.pm

filter: Statementstmt 70.5% 12 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 44.4% 4 / 9 Podpod 0.0% 0 / 6 totaltotal 50.0% 16 / 32 CC 1 SCAR 4.4
CC
1
Cov
71%
token
2.0
team_id
2.0
api_app_id
2.0
CRAP 1.6
« Slack/Event/Bot.pm ↑ Summary Slack/Event/ViewSubmission.pm »
1 package Net::Async::Slack::Event::AppUninstalled;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 our $VERSION = '0.015'; # VERSION
7  
8 4 ▶use Net::Async::Slack::EventType;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 ▶sub token { shift->{token} }
Subroutine token: not called CC=1 SCAR=6.9
Pod undocumented
34  
35 0 ▶sub team_id { shift->{team_id} }
Subroutine team_id: not called CC=1 SCAR=6.9
Pod undocumented
36  
37 0 ▶sub api_app_id { shift->{api_app_id} }
Subroutine api_app_id: not called CC=1 SCAR=6.9
Pod undocumented
38  
39 0 ▶sub event_id { shift->{event_id} }
Subroutine event_id: not called CC=1 SCAR=6.9
Pod undocumented
40  
41 0 ▶sub event_time { shift->{event_time} }
Subroutine event_time: not called CC=1 SCAR=6.9
Pod undocumented
42  
43 8 ▶sub type { 'app_uninstalled' }
Subroutine type: called CC=1 SCAR=0.0
Pod undocumented
44  
45 4 1;
46  
« Slack/Event/Bot.pm ↑ Summary Slack/Event/ViewSubmission.pm »