| blib/lib/WebService/GoogleAPI/Client/AccessToken.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 10 | 10 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | n/a | ||
| total | 14 | 14 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package WebService::GoogleAPI::Client::AccessToken; | ||||||
| 2 | 3 | 3 | 25 | use strictures; | |||
| 3 | 7 | ||||||
| 3 | 18 | ||||||
| 3 | |||||||
| 4 | our $VERSION = '0.27'; # VERSION | ||||||
| 5 | |||||||
| 6 | # ABSTRACT: A small class for bundling user and scopes with a token | ||||||
| 7 | 3 | 3 | 550 | use Moo; | |||
| 3 | 6 | ||||||
| 3 | 19 | ||||||
| 8 | |||||||
| 9 | 3 | 3 | 1122 | use overload '""' => sub { shift->token }; | |||
| 3 | 3 | 6 | |||||
| 3 | 34 | ||||||
| 3 | 1255 | ||||||
| 10 | |||||||
| 11 | has [qw/token user scopes/] => is => 'ro', | ||||||
| 12 | required => 1; | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | 9008 | ||||||
| 16 | |||||||
| 17 | __END__ |