Method: RedisConfiguration.load
- Defined in:
- lib/models/redis_configuration.rb
.load(database = nil) ⇒ Object
Load the configuration using the given DB
Trying first the URL, then host, then sentinel, then default method
42 43 44 |
# File 'lib/models/redis_configuration.rb', line 42 def load(database = nil) load_url(database) || load_host(database) || load_sentinel(database) || load_default(database) end |