File Coverage

blib/lib/Net/Async/Slack/Event/ViewSubmission.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::ViewSubmission;
2              
3 3     3   268742 use strict;
  3         8  
  3         143  
4 3     3   30 use warnings;
  3         9  
  3         260  
5              
6             our $VERSION = '0.015'; # VERSION
7              
8 3     3   469 use Net::Async::Slack::EventType;
  3         9  
  3         24  
9              
10             =head1 NAME
11              
12             Net::Async::Slack::Event::ViewSubmission - View submitted
13              
14             =head1 DESCRIPTION
15              
16             Example input data:
17              
18             {
19             ...
20             }
21              
22              
23             =cut
24              
25 6     6 0 22 sub type { 'view_submission' }
26 0     0 0   sub view { shift->{view} }
27 0     0 0   sub callback_id { shift->{callback_id} }
28 0     0 0   sub trigger_id { shift->{trigger_id} }
29 0     0 0   sub action_ts { shift->{action_ts} }
30 0     0 0   sub token { shift->{token} }
31              
32             1;
33              
34             __END__