File Coverage

blib/lib/LINE/Bot/API/Event/Postback.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 2 0.0
total 16 18 88.8


line stmt bran cond sub pod time code
1             package LINE::Bot::API::Event::Postback;
2 53     53   466 use strict;
  53         190  
  53         2362  
3 53     53   369 use warnings;
  53         296  
  53         2915  
4 53     53   340 use parent 'LINE::Bot::API::Event::Base';
  53         187  
  53         345  
5              
6 1     1 0 5119 sub is_postback_event { 1 }
7              
8 1     1 0 7 sub postback_data { $_[0]->{postback}{data} }
9              
10             1;