X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FDBIC%2FAPI%2FRequestArguments.pm;h=e920857892c44b3d14bf305acbe86eeba318cb34;hb=04f135e4176ab36780d168136947d1a748178ca7;hp=a2fee74d0e21055987a1aa45aeaa483e28007a75;hpb=b66d43106c928f395d6e0628f9f80b72a274b9d8;p=catagits%2FCatalyst-Controller-DBIC-API.git diff --git a/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm b/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm index a2fee74..e920857 100644 --- a/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm +++ b/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm @@ -10,8 +10,6 @@ use namespace::autoclean; use Catalyst::Controller::DBIC::API::JoinBuilder; -=for Pod::Coverage check_rel - =attribute_private search_validator A Catalyst::Controller::DBIC::API::Validator instance used solely to validate search parameters @@ -199,13 +197,13 @@ Like the synopsis in DBIC::API shows, you can declare a "template" of what is al { my ($self, $new) = @_; - sub check_rel { + sub _check_rel { my ($self, $rel, $static) = @_; if(ArrayRef->check($rel)) { foreach my $rel_sub (@$rel) { - $self->check_rel($rel_sub, $static); + $self->_check_rel($rel_sub, $static); } } elsif(HashRef->check($rel)) @@ -225,7 +223,7 @@ Like the synopsis in DBIC::API shows, you can declare a "template" of what is al foreach my $rel (@$new) { - $self->check_rel($rel, $p->static); + $self->_check_rel($rel, $p->static); } }, );