Files
netdisco/lib/App/Netdisco/Backend/Runner.pm
2017-09-03 18:54:44 +01:00

16 lines
305 B
Perl
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package App::Netdisco::Backend::Runner;
use Dancer ':moose :syntax';
use App::Netdisco::Worker::Status;
use Try::Tiny;
use Role::Tiny;
use namespace::clean;
# mixin code to run workers loaded via plugins
sub run {
return App::Netdisco::Worker::Status->new({done => true, message => 'ok'});
}
true;