Skip to content

Commit

Permalink
More synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed May 26, 2012
1 parent eb9f1e5 commit 09e56fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/Plack/Middleware/JenkinsNotification.pm
Expand Up @@ -39,10 +39,16 @@ Plack::Middleware::JenkinsNotification -
use Plack::Middleware::JenkinsNotification;
builder {
mount "/jenkins" => builder {
enable "JenkinsNotification", on_notify => sub {
my ($env,$payload) = @_;
};
};
mount "/jenkins" => Plack::Middleware::JenkinsNotification->new({ on_notify => sub {
my ($env,$payload) = @_;
}});
}})->to_app;
};
=head1 DESCRIPTION
Expand Down

0 comments on commit 09e56fd

Please sign in to comment.