diff options
| author | Teddy Wing | 2015-09-02 11:25:32 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-09-02 12:20:07 -0400 |
| commit | ee0bb41acb739da5957f63b92c1162cb02adac64 (patch) | |
| tree | 308c4122e33b96fa365cca91997bfef4fe3e5e82 | |
| parent | 1fe11f8f0c5f9582beaade07babf4825d5af5700 (diff) | |
| download | pubnub-python-update-argument-defaults-in-docstrings.tar.bz2 | |
docs(grant,revoke,audit): Add `manage` to sample responseupdate-argument-defaults-in-docstrings
The `manage` argument gets returned in the response as `m:0` or `m:1`.
Add it to the sample responses of each of these methods since current
responses to those methods do include the `m` key.
| -rw-r--r-- | pubnub.py | 32 |
1 files changed, 27 insertions, 5 deletions
@@ -456,7 +456,11 @@ class PubnubBase(object): "payload":{ "ttl":5, "auths":{ - "my_ro_authkey":{"r":1,"w":0} + "my_ro_authkey":{ + "m":0, + "r":1, + "w":0 + } }, "subscribe_key":"my_subkey", "level":"user", @@ -529,7 +533,11 @@ class PubnubBase(object): "payload":{ "ttl":5, "auths":{ - "my_authkey":{"r":0,"w":0} + "my_authkey":{ + "m":0, + "r":0, + "w":0 + } }, "subscribe_key":"my_subkey", "level":"user", @@ -596,9 +604,23 @@ class PubnubBase(object): "payload":{ "channels":{ "my_channel":{ - "auths":{"my_ro_authkey":{"r":1,"w":0}, - "my_rw_authkey":{"r":0,"w":1}, - "my_admin_authkey":{"r":1,"w":1} + "auths":{ + "my_ro_authkey":{ + "m":0, + "r":1, + "w":0 + }, + "my_rw_authkey":{ + "m":0, + "r":0, + "w":1 + }, + "my_admin_authkey":{ + "m":1, + "r":1, + "w":1 + } + } } } }, |
