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 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
fields
1.0
CRAP 1.0
« Bot/Object/InlineKeyboardButton.pm ↑ Summary Bot/Object/User.pm »
1 package Telegram::Bot::Object::Location;
2 5 $Telegram::Bot::Object::Location::VERSION = '0.023';
3 # ABSTRACT: The base class for Telegram message 'Location' type.
4  
5  
6 5 ▶use Mojo::Base 'Telegram::Bot::Object::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 5 has 'longitude';
9 5 has 'latitude';
10  
11 sub fields {
12 2 ▶ return { scalar => [qw/longitude latitude/],
Subroutine fields: called CC=1 SCAR=0.0
Pod undocumented
13 };
14 }
15  
16 5 1;
17  
18 __END__
« Bot/Object/InlineKeyboardButton.pm ↑ Summary Bot/Object/User.pm »