The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Daemonise::Plugin::HipChat - Daemonise HipChat plugin

VERSION

version 2.13

SYNOPSIS

    use Daemonise;
    
    my $d = Daemonise->new();
    $d->debug(1);
    $d->foreground(1) if $d->debug;
    $d->config_file('/path/to/some.conf');
    
    $d->load_plugin('HipChat');
    
    $d->configure;
    
    # send a message to the default 'log' channel
    $d->notify("some text");
    
    # send a message to the specified hipchat channel
    $d->notify("some text", 'channel');

ATTRIBUTES

hipchat_url

hipchat_token

hipchat_from

hipchat_room

hipchat

SUBROUTINES/METHODS provided

configure

notify

    Arguments: 

    $msg is the message to send.
    $room is the room to send to.
    $severity is the type of message.
    $notify_users is whether the message will mark the room as having unread messages.
    $message_format indicates the format of the message. "html" or "text".

    More details at https://www.hipchat.com/docs/api/method/rooms/message

AUTHOR

Lenz Gschwendtner <norbu09@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Lenz Gschwendtner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.