rp);
use attributes qw();
use URI::Escape;
our $VERSION = '0.4';
sub __jsonp_method {
my ($self,$req,$resultset,$rs,$jsonp_method_name,@args) = @_;
my ($primary) = $rs->result_source->prima
ride;
my $jsonp_method_coderef = exists $overrides->{$resultset}{$jsonp_method_name} || $object->can($jsonp_method_name);
if ( !$object->can($jsonp_method_name)
# if jsonp method is d
the overrides, we don't care if it has the 'JSONP' subroutine attribute
|| __method_is_jsonp($jsonp_method_coderef) ) {
# method has a 'JSONP' attribute, and was declared in the result