line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catalyst::Controller::DBIC::API::Validator; |
2
|
|
|
|
|
|
|
$Catalyst::Controller::DBIC::API::Validator::VERSION = '2.008001'; |
3
|
|
|
|
|
|
|
#ABSTRACT: Provides validation services for inbound requests against whitelisted parameters |
4
|
16
|
|
|
16
|
|
119
|
use Moose; |
|
16
|
|
|
|
|
50
|
|
|
16
|
|
|
|
|
142
|
|
5
|
16
|
|
|
16
|
|
118459
|
use Catalyst::Controller::DBIC::API::Validator::Visitor; |
|
16
|
|
|
|
|
79
|
|
|
16
|
|
|
|
|
743
|
|
6
|
16
|
|
|
16
|
|
163
|
use namespace::autoclean; |
|
16
|
|
|
|
|
45
|
|
|
16
|
|
|
|
|
160
|
|
7
|
|
|
|
|
|
|
|
8
|
16
|
|
|
16
|
|
1463
|
BEGIN { extends 'Data::DPath::Validator'; } |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has '+visitor' => ( 'builder' => '_build_custom_visitor' ); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub _build_custom_visitor { |
13
|
137
|
|
|
137
|
|
5965
|
return Catalyst::Controller::DBIC::API::Validator::Visitor->new(); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=pod |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Catalyst::Controller::DBIC::API::Validator - Provides validation services for inbound requests against whitelisted parameters |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 VERSION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
version 2.008001 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 AUTHORS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=over 4 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item * |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Nicholas Perez <nperez@cpan.org> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item * |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Luke Saunders <luke.saunders@gmail.com> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item * |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Alexander Hartmaier <abraxxa@cpan.org> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Florian Ragwitz <rafl@debian.org> |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Oleg Kostyuk <cub.uanic@gmail.com> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item * |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Samuel Kaufman <sam@socialflow.com> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=back |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This software is copyright (c) 2019 by Luke Saunders, Nicholas Perez, Alexander Hartmaier, et al. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
67
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |