Пример #1
0
 def testCanAlert(self):
     Push.alert({"alert": "The Mets scored! The game is now tied 1-1.",
                 "badge": "Increment", "title": "Mets Score"},
                channels=["Mets"], where={"scores": True})
Пример #2
0
 def send(self):
     self._prepare_push()
     Push.alert(self._data, self.where, **self._kwargs)