line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Google::DataAPI::Types; |
2
|
3
|
|
|
3
|
|
92451
|
use Any::Moose; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
13
|
|
3
|
3
|
|
|
3
|
|
964
|
use Any::Moose '::Util::TypeConstraints'; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
7
|
|
4
|
3
|
|
|
3
|
|
1700
|
use Net::Google::DataAPI::Auth::AuthSub; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
82
|
|
5
|
3
|
|
|
3
|
|
15
|
use Net::Google::AuthSub; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
45
|
|
6
|
3
|
|
|
3
|
|
1398
|
use Net::OAuth2::AccessToken; |
|
3
|
|
|
|
|
46685
|
|
|
3
|
|
|
|
|
94
|
|
7
|
3
|
|
|
3
|
|
20
|
use URI; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
506
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
role_type 'Net::Google::DataAPI::Types::Auth' |
12
|
|
|
|
|
|
|
=> {role => 'Net::Google::DataAPI::Role::Auth'}; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
subtype 'Net::Google::DataAPI::Types::AuthSub' |
15
|
|
|
|
|
|
|
=> as 'Net::Google::AuthSub'; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
coerce 'Net::Google::DataAPI::Types::Auth' |
18
|
|
|
|
|
|
|
=> from 'Net::Google::DataAPI::Types::AuthSub' |
19
|
|
|
|
|
|
|
=> via { |
20
|
|
|
|
|
|
|
Net::Google::DataAPI::Auth::AuthSub->new( |
21
|
|
|
|
|
|
|
authsub => $_ |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
subtype 'Net::Google::DataAPI::Types::URI' |
26
|
|
|
|
|
|
|
=> as 'URI'; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
coerce 'Net::Google::DataAPI::Types::URI' |
29
|
|
|
|
|
|
|
=> from 'Str' |
30
|
|
|
|
|
|
|
=> via { URI->new(( m{://} ) ? $_ : ('http://'.$_)) }; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
subtype 'Net::Google::DataAPI::Types::OAuth2::AccessToken' |
33
|
|
|
|
|
|
|
=> as 'Net::OAuth2::AccessToken'; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
coerce 'Net::Google::DataAPI::Types::OAuth2::AccessToken' |
36
|
|
|
|
|
|
|
=> from 'HashRef' |
37
|
|
|
|
|
|
|
=> via { Net::OAuth2::AccessToken->new(%$_) }; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
40
|
|
|
|
|
|
|
|
41
|
3
|
|
|
3
|
|
14
|
no Any::Moose; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
19
|
|
42
|
3
|
|
|
3
|
|
674
|
no Any::Moose '::Util::TypeConstraints'; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
9
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
1; |