File Coverage

blib/lib/CatalystX/OAuth2/Request/ProtectedResource.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 2 3 66.6
pod n/a
total 8 10 80.0


line stmt bran cond sub pod time code
1             package CatalystX::OAuth2::Request::ProtectedResource;
2 8     8   63 use Moose::Util::TypeConstraints;
  8         21  
  8         86  
3 8     8   17568 use Moose;
  8         23  
  8         63  
4             with 'CatalystX::OAuth2';
5              
6             # ABSTRACT: An oauth2 protected resource request implementation
7              
8             has token =>
9             ( isa => duck_type( [qw(as_string owner)] ), is => 'ro', required => 1 );
10              
11 0     0     sub _build_query_parameters {{}}
12              
13             1;
14              
15             __END__
16              
17             =pod
18              
19             =head1 NAME
20              
21             CatalystX::OAuth2::Request::ProtectedResource - An oauth2 protected resource request implementation
22              
23             =head1 VERSION
24              
25             version 0.001006
26              
27             =head1 AUTHOR
28              
29             Eden Cardim <edencardim@gmail.com>
30              
31             =head1 COPYRIGHT AND LICENSE
32              
33             This software is copyright (c) 2017 by Suretec Systems Ltd.
34              
35             This is free software; you can redistribute it and/or modify it under
36             the same terms as the Perl 5 programming language system itself.
37              
38             =cut