Bot/Object/Location.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 0.0% 0 / 1 totaltotal 90.9% 10 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
fields
1.0
CRAP 1.0
« Bot/Object/ChatMember.pm ↑ Summary Bot/Object/User.pm »
1 package Telegram::Bot::Object::Location;
2 6 $Telegram::Bot::Object::Location::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram message 'Location' type.
4  
5  
6 6 ▶use Mojo::Base 'Telegram::Bot::Object::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 6 has 'longitude';
9 6 has 'latitude';
10  
11 4 ▶sub fields {
Subroutine fields: called CC=1 SCAR=0.0
Pod undocumented
12 4 return { scalar => [qw/longitude latitude/],
13 };
14 }
15  
16 6 1;
17  
18 __END__
« Bot/Object/ChatMember.pm ↑ Summary Bot/Object/User.pm »