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.021';
3             # ABSTRACT: The base class for Telegram 'InlineKeyboardMarkup' type objects
4              
5              
6 5     5   52 use Mojo::Base 'Telegram::Bot::Object::Base';
  5         8  
  5         45  
7 5     5   2575 use Telegram::Bot::Object::InlineKeyboardButton;
  5         14  
  5         33  
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__