Client/AccessToken.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Client/AuthStorage/GapiJSON.pm ↑ Summary
1 package WebService::GoogleAPI::Client::AccessToken;
2 2 ▶use strictures;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 2 our $VERSION = '0.27'; # VERSION
5  
6 # ABSTRACT: A small class for bundling user and scopes with a token
7 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 ▶use overload '""' => sub { shift->token };
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: called CC=1 SCAR=0.0
10  
11 2 has [qw/token user scopes/] => is => 'ro',
12 required => 1;
13  
14  
15 2 9008
16  
17 __END__
« Client/AuthStorage/GapiJSON.pm ↑ Summary