Skip to content

need new alert types #13

@sfarrell5123

Description

@sfarrell5123

alert_contact.py

from future import absolute_import, division, print_function, unicode_literals

from termcolor import colored

class AlertContact(object):
class Type:
SMS = 1
EMAIL = 2
TWITTER = 3
BOXCAR = 4
PUSHBULLET = 6
WEBHOOK = 5

TYPES = {
    Type.SMS: "sms",
    Type.EMAIL: "email",
    Type.TWITTER: "twitter",
    Type.BOXCAR: "boxcar",
    Type.PUSHBULLET: "pushbullet",
    Type.WEBHOOK: "webhook",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions