aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-09-02 00:03:56 -0400
committerTeddy Wing2015-09-02 00:03:56 -0400
commit1fe11f8f0c5f9582beaade07babf4825d5af5700 (patch)
treeb7f16fbf1b1da48212183dbfcabc670396fc0f8d
parentde21caa8524db6bbf7f204aa817b5ddb5d77d3ca (diff)
downloadpubnub-python-1fe11f8f0c5f9582beaade07babf4825d5af5700.tar.bz2
docs(grant): Update argument defaults
Update the docs for `Pubnub.grant()` to show the correct defaults for the `read`, `write`, and `manage` arguments.
-rw-r--r--pubnub.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pubnub.py b/pubnub.py
index fcbf2dc..0805139 100644
--- a/pubnub.py
+++ b/pubnub.py
@@ -420,14 +420,14 @@ class PubnubBase(object):
(or included in a comma-separated list, eg. "null,null,abc"),
a new auth_key will be generated and returned for each "null" value.
- read: (boolean) (default: True)
+ read: (boolean) (default: False)
Read permissions are granted by setting to True.
Read permissions are removed by setting to False.
- write: (boolean) (default: True)
+ write: (boolean) (default: False)
Write permissions are granted by setting to true.
Write permissions are removed by setting to false.
- manage: (boolean) (default: True)
+ manage: (boolean) (default: False)
Manage permissions are granted by setting to true.
Manage permissions are removed by setting to false.