summaryrefslogtreecommitdiff
path: root/Postman/notifications/PostmanNotify.php
blob: 22ca56f388c1d8e303fbba255a8472197ee1b9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
require_once 'INotify.php';
require_once 'PostmanMailNotify.php';
require_once 'PostmanPushoverNotify.php';
require_once 'PostmanSlackNotify.php';

class PostmanNotify {
    private $notify;

    public function __construct( Postman_Notify $notify ) {
        $this->notify = $notify;
    }

    public function send( $message, $log ) {
        $this->notify->send_message( $message );
    }
}