File Coverage

blib/lib/Net/Async/Slack/Event/TokensRevoked.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::TokensRevoked;
2              
3 4     4   306120 use strict;
  4         8  
  4         176  
4 4     4   19 use warnings;
  4         9  
  4         351  
5              
6             our $VERSION = '0.015'; # VERSION
7              
8 4     4   361 use Net::Async::Slack::EventType;
  4         57  
  4         32  
9              
10             =head1 NAME
11              
12             Net::Async::Slack::Event::TokensRevoked - API tokens for your app were revoked.
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": "tokens_revoked",
24             "tokens": {
25             "oauth": [
26             "UXXXXXXXX"
27             ],
28             "bot": [
29             "UXXXXXXXX"
30             ]
31             }
32             },
33             "type": "event_callback",
34             "event_id": "EvXXXXXXXX",
35             "event_time": 1234567890
36             }
37              
38              
39             =cut
40              
41 8     8 0 31 sub type { 'tokens_revoked' }
42              
43             1;
44              
45             __END__