File Coverage

blib/lib/Telegram/Bot/Object/InlineKeyboardMarkup.pm
Criterion Covered Total %
statement 6 8 75.0
branch n/a
condition n/a
subroutine 2 4 50.0
pod 1 2 50.0
total 9 14 64.2


line stmt bran cond sub pod time code
1             package Telegram::Bot::Object::InlineKeyboardMarkup;
2             $Telegram::Bot::Object::InlineKeyboardMarkup::VERSION = '0.024';
3             # ABSTRACT: The base class for Telegram 'InlineKeyboardMarkup' type objects
4              
5              
6 5     5   35 use Mojo::Base 'Telegram::Bot::Object::Base';
  5         10  
  5         28  
7 5     5   2991 use Telegram::Bot::Object::InlineKeyboardButton;
  5         37  
  5         61  
8              
9             has 'inline_keyboard';
10              
11             sub fields {
12 0     0 0   return { 'Telegram::Bot::Object::InlineKeyboardButton' => [qw/inline_keyboard/],
13             };
14             }
15              
16             sub array_of_arrays {
17 0     0 1   qw/inline_keyboard/;
18             }
19              
20             1;
21              
22             __END__