Slack/Event/UserResourceGranted.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Slack/Event/UserResourceDenied.pm ↑ Summary Slack/Event/UserResourceRemoved.pm »
1 package Net::Async::Slack::Event::UserResourceGranted;
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::UserResourceGranted - User resource was granted to your app
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": "user_resource_granted",
24 "user": "WXXXXXXXX",
25 "scopes": [
26 "reminders:write:user",
27 "reminders:read:user"
28 ],
29 "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606"
30 },
31 "type": "event_callback",
32 "authed_teams": [],
33 "event_id": "EvXXXXXXXX",
34 "event_time": 1234567890
35 }
36  
37  
38 =cut
39  
40 8 ▶sub type { 'user_resource_granted' }
Subroutine type: called CC=1 SCAR=0.0
Pod undocumented
41  
42 4 1;
43  
44 __END__
« Slack/Event/UserResourceDenied.pm ↑ Summary Slack/Event/UserResourceRemoved.pm »