NAME
Games::Lacuna::Role::Notify - Send email notifications
SYNOPSIS
package Games::Lacuna::Task::Action::MyTask;
use Moose;
extends qw(Games::Lacuna::Task::Action);
with qw(Games::Lacuna::Task::Role::Notify);
sub run {
my ($self) = @_;
$self->notify('Alarm!!','Something has happened');
}
ACCESSORS
Recipient email
email_send
MIME::Lite send configuration
METHODS
notify
Sends an email notification
$self->log($subject,$message);