README.md in redis_token-0.0.3 vs README.md in redis_token-0.0.4
- old
+ new
@@ -125,5 +125,18 @@
# "7ef74cb761c1595dd33058e78a125720: {:owner=>\"u.555\", :at=>2017-08-18 16:02:10 +0300}"
# "621d2a10c34e92d7f0b4fc3b00be62af: {:owner=>\"u.555\", :at=>2017-08-18 16:02:10 +0300}"
# "17f7cb676e67d6b53c48e51f1c1beeb1: {:owner=>\"u.555\", :at=>2017-08-18 16:02:10 +0300}"
# => nil
```
+
+### Delete token
+
+```ruby
+r.delete('865249d6b87c4e6dd8f6b0796ace7fa0')
+# => true
+```
+
+### Delete all tokens of an owner
+```ruby
+r.delete_all('client.1')
+# => 8
+```