Adam

 view release on metacpan or  search on metacpan

ex/rt-plugin.pl  view on Meta::CPAN

#!/usr/bin/env perl
use 5.10.0;
use lib qw(lib);
use Moses::Declare;

$INC{'RT/Plugin.pm'}++;

plugin RT::Plugin {
    use Try::Tiny;
    use RT::Client::REST;

    has [qw(server user pass)] => (
        isa        => 'Str',
        is         => 'ro',
        lazy_build => 1
    );

    sub _build_server { 'http://rt.cpan.org' }
    sub _build_user   { $ENV{RT_USER} }



( run in 0.372 second using v1.01-cache-2.11-cpan-05444aca049 )