mirror of https://github.com/caronc/apprise
Updated Development_Contribution (markdown)
parent
7110a29629
commit
9b7660d1d6
|
@ -76,6 +76,19 @@ class NotifyFooBar(NotifyBase):
|
||||||
# otherwise return False if it failed.
|
# otherwise return False if it failed.
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@property
|
||||||
|
def url_identifier(self):
|
||||||
|
"""
|
||||||
|
Returns a unique identifier for this plugin instance.
|
||||||
|
This is used to uniquely identify this service from another when
|
||||||
|
generating a unique identifier for the persistent storage engine.
|
||||||
|
|
||||||
|
The goal is to return anything unique to this object (in a tuple)
|
||||||
|
If you have tokens and/or keys derived from the Apprise URL,
|
||||||
|
then you would want to include those items as well in this response.
|
||||||
|
"""
|
||||||
|
return (self.protocol, self.host)
|
||||||
|
|
||||||
def __len__(self):
|
def __len__(self):
|
||||||
"""
|
"""
|
||||||
Returns the number of targets associated with this notification
|
Returns the number of targets associated with this notification
|
||||||
|
|
Loading…
Reference in New Issue