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