File Coverage

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   29 use strictures;
  3         6  
  3         18  
3              
4             our $VERSION = '0.26'; # VERSION
5              
6             # ABSTRACT: A small class for bundling user and scopes with a token
7 3     3   524 use Moo;
  3         4  
  3         17  
8              
9 3     3   1022 use overload '""' => sub { shift->token };
  3     3   7  
  3         35  
  3         996  
10              
11             has [qw/token user scopes/] => is => 'ro',
12             required => 1;
13              
14              
15             9008
16              
17             __END__