Group
Extension

Webqq-Client/lib/Plack/App/Openqq/GetGroupInfo.pm

package Plack::App::Openqq::GetGroupInfo;
use parent qw(Plack::Component);
use URI::Escape qw(uri_unescape);
use JSON;
sub call{
    my $self = shift;
    my $client = $self->{client};
    my $env  = shift;
    return [
        200,
        ['Content-Type' => 'text/plain'],
        [JSON->new->encode($client->{qq_database}{group})],
    ];
}
1;


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