Commits

Jeffrey Goettsch committed 0195f1c

Updated pydoc.

  • Participants
  • Parent commits bd34dcb

Comments (0)

Files changed (2)

File pushnotify/abstract.py

             return response_stream
 
     def add_key(self, apikey, device_key=''):
+        """Add the given key to self.apikeys.
+
+        Args:
+            apikey: A string containing a valid user's API key.
+            device_key: A string containing a valid device key to go
+                along with the API key. (default: '')
+        """
 
         if apikey not in self.apikeys:
             self.apikeys[apikey] = []
             self.apikeys[apikey].append(device_key)
 
     def del_key(self, apikey, device_key=''):
+        """Delete the given API key or device key from self.apikeys.
+
+        If device_key is not set, delete apikey and all of its device
+        keys. Otherwise only delete the device key.
+
+        Args:
+            apikey: A string containing a valid user's API key in
+                self.apikeys.
+            device_key: A string containing a valid device key in
+                self.apikeys[apikey]. (default: '')
+
+        """
 
         if device_key:
             self.apikeys[apikey] = [value for value in self.apikeys[apikey]

File pushnotify/prowl.py

     the Prowl application installed.
 
     Member Vars:
-        developerkey: A string containing a valid developer key for the
+        developerkey: A string containing a valid provider key for the
             given Prowl client.
         application: A string containing the name of the application on
             behalf of whom the Prowl client will be sending messages.