File Coverage

blib/lib/Telegram/Bot/Object/LoginUrl.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::LoginUrl;
2             $Telegram::Bot::Object::LoginUrl::VERSION = '0.023';
3             # ABSTRACT: The base class for Telegram 'LoginUrl' type objects
4              
5              
6 5     5   36 use Mojo::Base 'Telegram::Bot::Object::Base';
  5         10  
  5         36  
7              
8             has 'url';
9             has 'forward_text';
10             has 'bot_username';
11             has 'request_write_access';
12              
13             sub fields {
14 0     0 0   return { 'scalar' => [qw/url forward_text bot_username request_write_access/] };
15             }
16              
17             1;
18              
19             __END__