We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24da3e commit e211afaCopy full SHA for e211afa
README.md
@@ -47,6 +47,12 @@ To connect to Redis listening on a Unix socket, try:
47
redis = Redis.new(:path => "/tmp/redis.sock")
48
```
49
50
+To connect to a password protected Redis instance, use:
51
+
52
+```ruby
53
+redis = Redis.new(:password => "mysecret")
54
+```
55
56
The Redis class exports methods that are named identical to the commands
57
they execute. The arguments these methods accept are often identical to
58
the arguments specified on the [Redis website][redis-commands]. For
0 commit comments