File Coverage

blib/lib/LINE/Bot/API/Response/AudienceMultipleData.pm
Criterion Covered Total %
statement 14 19 73.6
branch n/a
condition n/a
subroutine 8 13 61.5
pod 0 10 0.0
total 22 42 52.3


line stmt bran cond sub pod time code
1             package LINE::Bot::API::Response::AudienceMultipleData;
2 9     9   61 use strict;
  9         19  
  9         303  
3 9     9   53 use warnings;
  9         16  
  9         219  
4 9     9   48 use parent 'LINE::Bot::API::Response::Common';
  9         18  
  9         51  
5              
6             =head1 NAME
7              
8             LINE::Bot::API::Response::AudienceMultipleData
9              
10             =head1 DESCRIPTION
11              
12             This class correspond to the "Get data for multiple audiences" response as described in
13             this page : L
14              
15             =cut
16              
17 0     0 0 0 sub audienceGroups { $_[0]->{audienceGroups} }
18 0     0 0 0 sub hasNextPage { $_[0]->{hasNextPage} }
19 2     2 0 10900 sub totalCount { $_[0]->{totalCount} }
20 2     2 0 10 sub readWriteAudienceGroupTotalCount { $_[0]->{readWriteAudienceGroupTotalCount} }
21 2     2 0 10 sub page { $_[0]->{page} }
22 2     2 0 36 sub size { $_[0]->{size} }
23              
24             # Aliases
25 2     2 0 8 sub audience_groups { $_[0]->{audienceGroups} }
26 0     0 0   sub has_next_page { $_[0]->{hasNextPage} }
27 0     0 0   sub total_count { $_[0]->{totalCount} }
28 0     0 0   sub read_write_audience_group_total_count { $_[0]->{readWriteAudienceGroupTotalCount} }
29              
30             1;
31