Group
Extension

Matches 2

Catmandu-Resolver ( P/PI/PIETERDP/Catmandu-Resolver-0.06.tar.gz, PIETERDP, 2017; MetaCPAN )
Catmandu-Resolver/lib/Catmandu/Store/Resolver/API.pm ( view source; MetaCPAN )
package Catmandu::Store::Resolver::API;

use Moo;
use JSON;
use LWP::UserAgent;

use Catmandu::Sane;

has url      => (is => 'ro', required => 1);
has username => (is => 'ro', required => 1);
has pass
elf->ua->get($req_url);

    if ($response->is_success) {
        # New API
        return decode_json($response->decoded_content);
    } else {
        # If it is 404, it could be that the "new" api 
I returns the application/json content-type
        # while the old doesn't.
        if ($response->code == 404) {
            if ($response->content_type eq 'application/json') {
                retu
Catmandu-Resolver ( P/PI/PIETERDP/Catmandu-Resolver-0.06.tar.gz, PIETERDP, 2017; MetaCPAN )
Catmandu-Resolver/lib/Catmandu/Store/Resolver/Bag.pm ( view source; MetaCPAN )
package Catmandu::Store::Resolver::Bag;

use Moo;
use JSON;

use Catmandu::Sane;
use Catmandu::Store::Resolver::API;

with 'Catmandu::Bag';

has api => (is => 'lazy');

has pid => (is => 'rw');

sub _

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.