Masayuki Matsuki > Ukigumo-Client-0.17 > Ukigumo::Client::Notify::Callback

Download:
Ukigumo-Client-0.17.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Ukigumo-Client-0.36

NAME ^

Ukigumo::Client::Notify::Callback - send notification by callback

DESCRIPTION ^

This is a notifier class for Ukigumo, send notification by callback

SYNOPSIS ^

    use Ukigumo::Client::Notify::Callback;

    my $app = Ukigumo::Client->new(...);
    $app->push_notifier(
        Ukigumo::Client::Notify::Callback->new(
            send_cb => sub {
                my ($c, $status, $last_status, $report_url) = @_;
                ...
            },
        )
    );

ATTRIBUTES ^

send_cb
syntax highlighting: