summaryrefslogtreecommitdiff
path: root/Postman/notifications/PostmanNotify.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/notifications/PostmanNotify.php')
-rw-r--r--Postman/notifications/PostmanNotify.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/Postman/notifications/PostmanNotify.php b/Postman/notifications/PostmanNotify.php
new file mode 100644
index 0000000..22ca56f
--- /dev/null
+++ b/Postman/notifications/PostmanNotify.php
@@ -0,0 +1,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 );
+ }
+} \ No newline at end of file