Group
Extension

Matches 3

App-Standby ( T/TE/TEX/App-Standby-0.04.tar.gz, TEX, 2014; MetaCPAN )
App-Standby/lib/App/Standby.pm ( view source; MetaCPAN )
ervice.

Choose class HTTP for a simple endpoint which just gets the whole ordered user list as a JSON
string. Chosse MS for a Monitoring::Spooler endpoint and Pingdom if you have an Pingdom account.
App-Standby ( T/TE/TEX/App-Standby-0.04.tar.gz, TEX, 2014; MetaCPAN )
App-Standby/lib/App/Standby/Service/HTTP.pm ( view source; MetaCPAN )
 use MooseX::Params::Validate;
# use Carp;
# use English qw( -no_match_vars );
use Try::Tiny;
use JSON;
use LWP::UserAgent;
use URI::Escape;

# extends ...
extends 'App::Standby::Service';
# has ...
h
  => 1,
    'builder' => '_init_ua',
);

has '_json' => (
    'is'      => 'rw',
    'isa'     => 'JSON',
    'lazy'    => 1,
    'builder' => '_init_json',
);

has 'username' => (
    'is'    => 'rw'
nit_endpoints',
);
# with ...
# initializers ...
sub _init_json {
    my $self = shift;

    my $JSON = JSON::->new->utf8();

    return $JSON;
}

sub _init_ua {
    my $self = shift;

    my $UA = LW
App-Standby ( T/TE/TEX/App-Standby-0.04.tar.gz, TEX, 2014; MetaCPAN )
App-Standby/lib/App/Standby/Service.pm ( view source; MetaCPAN )
e HTTP endpoints and complex plugins.

The simple HTTP plugins just receive the whole queue in as JSON encoded array.
Those only need to subclass App::Standby::Service::HTTP and provide an implementat

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