File Coverage

blib/lib/LINE/Bot/API/Response/NarrowcastStatus.pm
Criterion Covered Total %
statement 20 20 100.0
branch n/a
condition n/a
subroutine 14 14 100.0
pod 0 11 0.0
total 34 45 75.5


line stmt bran cond sub pod time code
1             package LINE::Bot::API::Response::NarrowcastStatus;
2 3     3   19 use strict;
  3         7  
  3         75  
3 3     3   13 use warnings;
  3         5  
  3         69  
4 3     3   13 use parent 'LINE::Bot::API::Response::Common';
  3         5  
  3         16  
5              
6              
7             =head1 NAME
8              
9             LINE::Bot::API::Response::NarrowcastStatus
10              
11             =head1 DESCRIPTION
12              
13             This class correspond to the "Get narrowcast message status" response as described in
14             this page : L
15              
16             =cut
17              
18 1     1 0 4 sub phase { $_[0]->{phase} }
19 1     1 0 5 sub successCount { $_[0]->{successCount} }
20 1     1 0 4 sub failureCount { $_[0]->{failureCount} }
21 1     1 0 4 sub targetCount { $_[0]->{targetCount} }
22 1     1 0 4 sub failedDescription { $_[0]->{failedDescription} }
23 1     1 0 5 sub errorCode { $_[0]->{errorCode} }
24              
25             # Aliases
26 1     1 0 4 sub success_count { $_[0]->{successCount} }
27 1     1 0 4 sub failure_count { $_[0]->{failureCount} }
28 1     1 0 4 sub target_count { $_[0]->{targetCount} }
29 1     1 0 4 sub failed_description { $_[0]->{failedDescription} }
30 1     1 0 4 sub error_code { $_[0]->{errorCode} }
31              
32             1;