File Coverage

blib/lib/Net/Async/Slack/Event/WorkflowStepEdit.pm
Criterion Covered Total %
statement 10 18 55.5
branch n/a
condition n/a
subroutine 4 12 33.3
pod 0 9 0.0
total 14 39 35.9


line stmt bran cond sub pod time code
1             package Net::Async::Slack::Event::WorkflowStepEdit;
2              
3 3     3   315536 use strict;
  3         6  
  3         124  
4 3     3   14 use warnings;
  3         7  
  3         235  
5              
6             our $VERSION = '0.015'; # VERSION
7              
8 3     3   583 use Net::Async::Slack::EventType;
  3         9  
  3         25  
9              
10             =head1 NAME
11              
12             Net::Async::Slack::Event::WorkflowStepEdit - app added as a workflow step
13              
14             =head1 DESCRIPTION
15              
16             Example input data:
17              
18             {
19             action_ts => "1679230481.238183",
20             callback_id => "some_workflow",
21             enterprise => undef,
22             is_enterprise_install => false,
23             team => {
24             domain => "example",
25             id => "T03823123"
26             },
27             token => "Io2ca8sd8f1n4n12uu123Sf1",
28             trigger_id => "5023918231231.12318832904.823812sc8a8ed8af8a0c908ca8ed8aff",
29             type => "workflow_step_edit",
30             user => {
31             id => "U2Q84EA9E",
32             team_id => "T03832314",
33             username => "test"
34             },
35             workflow_step => {
36             inputs => {},
37             outputs => [],
38             step_id => "55bcc092-5fa8-4515-b75a-58008afdbed7",
39             workflow_id => "472313182471232832"
40             }
41             }
42              
43             =cut
44              
45 6     6 0 26 sub type { 'workflow_step_edit' }
46 0     0 0   sub callback_id { shift->{callback_id} }
47 0     0 0   sub trigger_id { shift->{trigger_id} }
48 0     0 0   sub action_ts { shift->{action_ts} }
49 0     0 0   sub token { shift->{token} }
50 0     0 0   sub workflow_step { shift->{workflow_step} }
51 0     0 0   sub workflow_step_edit_id { shift->{workflow_step}{workflow_step_edit_id} }
52 0     0 0   sub step_id { shift->{workflow_step}{step_id} }
53 0     0 0   sub workflow_id { shift->{workflow_step}{workflow_id} }
54              
55             1;
56              
57             __END__