README.md in redis-client-0.6.2 vs README.md in redis-client-0.7.0

- old
+ new

@@ -98,9 +98,22 @@ ], role: :master, ) ``` +or: + +```ruby +redis_config = RedisClient.sentinel( + name: "mymaster", + sentinels: [ + "redis://127.0.0.1:26380", + "redis://127.0.0.1:26381", + ], + role: :master, +) +``` + * The name identifies a group of Redis instances composed of a master and one or more replicas (`mymaster` in the example). * It is possible to optionally provide a role. The allowed roles are `:master` and `:replica`. When the role is `:replica`, the client will try to connect to a random replica of the specified master. If a role is not specified, the client