CatalystX/OAuth2/Schema/ResultSet/Client.pm

filter: Statementstmt 100% 5 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 0.0% 0 / 1 totaltotal 87.5% 7 / 8 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
find_refresh
1.0
CRAP 1.0
« CatalystX/OAuth2/Schema/Result/RefreshToken.pm ↑ Summary CatalystX/OAuth2/Schema/Result/Code.pm »
1 package CatalystX::OAuth2::Schema::ResultSet::Client;
2 10 ▶use parent 'DBIx::Class::ResultSet';
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 sub find_refresh {
5 2 ▶ shift->related_resultset('codes')->search( { is_active => 1 } )
Subroutine find_refresh: called CC=1 SCAR=0.0
Pod undocumented
6 ->related_resultset('refresh_tokens')->find(@_);
7 }
8  
9 10 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.001006
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
« CatalystX/OAuth2/Schema/Result/RefreshToken.pm ↑ Summary CatalystX/OAuth2/Schema/Result/Code.pm »