SELKIELogger  1.0.0
SELKIELogger.PushoverClient.PushoverClient Class Reference

A very simple Pushover client. More...

Public Member Functions

def __init__ (self, config=None)
 Create PushoverClient instance. More...
 
def sendMessage (self, message, title=None)
 Send specified message via Pushover, optionally customising title. More...
 

Public Attributes

 config
 Default file path.
 

Detailed Description

A very simple Pushover client.

Will attempt to read the default configuration file from pushover-bash script.

Definition at line 24 of file PushoverClient.py.

Constructor & Destructor Documentation

◆ __init__()

def SELKIELogger.PushoverClient.PushoverClient.__init__ (   self,
  config = None 
)

Create PushoverClient instance.

Parameters
[in]configConfiguration file to use instead of default

Definition at line 29 of file PushoverClient.py.

Member Function Documentation

◆ sendMessage()

def SELKIELogger.PushoverClient.PushoverClient.sendMessage (   self,
  message,
  title = None 
)

Send specified message via Pushover, optionally customising title.

Parameters
[in]messageMessage text
[in]titleIf set, override message title from configuration file
Returns
None

Definition at line 43 of file PushoverClient.py.


The documentation for this class was generated from the following file: