File Coverage

blib/lib/CatalystX/OAuth2/Schema/ResultSet/Client.pm
Criterion Covered Total %
statement 4 4 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod 0 1 0.0
total 6 7 85.7


line stmt bran cond sub pod time code
1             package CatalystX::OAuth2::Schema::ResultSet::Client;
2 8     8   15857 use parent 'DBIx::Class::ResultSet';
  8         31  
  8         70  
3              
4             sub find_refresh {
5 2     2 0 14 shift->related_resultset('codes')->search( { is_active => 1 } )
6             ->related_resultset('refresh_tokens')->find(@_);
7             }
8              
9             1;
10              
11             __END__
12              
13             =pod
14              
15             =head1 NAME
16              
17             CatalystX::OAuth2::Schema::ResultSet::Client
18              
19             =head1 VERSION
20              
21             version 0.001007
22              
23             =head1 AUTHOR
24              
25             Eden Cardim <edencardim@gmail.com>
26              
27             =head1 COPYRIGHT AND LICENSE
28              
29             This software is copyright (c) 2017 by Suretec Systems Ltd.
30              
31             This is free software; you can redistribute it and/or modify it under
32             the same terms as the Perl 5 programming language system itself.
33              
34             =cut