Source code for pynotify.dispatchers

[docs]class BaseDispatcher: """ Base class for sending notification over a communication channel (e.g. e-mail, sms, push). """
[docs] def dispatch(self, notification): """ This method should implement actual sending of ``notification``. """ raise NotImplementedError() # pragma: no cover