Group
Extension

Matches 4

Telebot ( L/LI/LIOL/Telebot-0.01.tgz, LIOL, 2022; MetaCPAN )
Telebot/lib/Telebot/Plugin/Hooks.pm ( view source; MetaCPAN )
{template};
        return unless $c->accepts('json');
        return unless $template =~ /^exception(\.(development|production))?$/;
        $args->{json} = {code => 500, message => $c->config->{mode
Telebot ( L/LI/LIOL/Telebot-0.01.tgz, LIOL, 2022; MetaCPAN )
Telebot/lib/Telebot/Plugin/Telegram/UI.pm ( view source; MetaCPAN )
rAgent;
use Carp 'croak';
use Mojo::Util qw(camelize);
use Mojo::Collection qw(c);
use Mojo::JSON qw(to_json);
use Scalar::Util qw(blessed);
use Mojo::Loader qw(load_class load_classes);

has ['app'] 
Telebot ( L/LI/LIOL/Telebot-0.01.tgz, LIOL, 2022; MetaCPAN )
Telebot/lib/Telebot/Controller/Tg.pm ( view source; MetaCPAN )
 my $data = $c->req->json;
    $c->dump($data) if $c->app->config->{trace};
    if ($data->{update_id}) {
        $c->minion->enqueue(update => [$data]);
    }
    $c->render(json => {ok => \1});
}

s
Telebot ( L/LI/LIOL/Telebot-0.01.tgz, LIOL, 2022; MetaCPAN )
Telebot/lib/Telebot/Plugin/Telegram.pm ( view source; MetaCPAN )
rAgent;
use Carp 'croak';
use Mojo::Util qw(camelize);
use Mojo::Collection qw(c);
use Mojo::JSON qw(to_json);
use Scalar::Util qw(blessed);
use Mojo::Loader qw(load_class load_classes);

has ['app', 
es->code == 200) {
            return $tx->res->json;
        }
        else {
            $self->app->dump($tx->res);
            return $tx->res->json || {
                ok => 0,
                d
_json($data->{$_}) : $data->{$_};
                } keys %$data),
                %$files,
            },
        );
    }
    else {
        return (
            {'Content-Type' => 'application/json'

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