File Coverage

blib/lib/Telegram/Bot/Object/ChatPhoto.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 0 1 0.0
total 4 7 57.1


line stmt bran cond sub pod time code
1             package Telegram::Bot::Object::ChatPhoto;
2             $Telegram::Bot::Object::ChatPhoto::VERSION = '0.021';
3             # ABSTRACT: The base class for Telegram 'ChatPhoto' type objects
4              
5              
6 5     5   31 use Mojo::Base 'Telegram::Bot::Object::Base';
  5         11  
  5         27  
7              
8             has 'small_file_id';
9             has 'big_file_id';
10              
11             sub fields {
12             return {
13 0     0 0   'scalar' => [qw/small_file_id big_file_id/],
14             };
15             }
16              
17             1;
18              
19             __END__