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