Class: HealthMonitor::Providers::Redis::Configuration
- Inherits:
-
Object
- Object
- HealthMonitor::Providers::Redis::Configuration
- Defined in:
- lib/health_monitor/providers/redis.rb
Constant Summary collapse
- DEFAULT_URL =
nil
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#max_used_memory ⇒ Object
Returns the value of attribute max_used_memory.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 |
# File 'lib/health_monitor/providers/redis.rb', line 15 def initialize @url = DEFAULT_URL end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
13 14 15 |
# File 'lib/health_monitor/providers/redis.rb', line 13 def connection @connection end |
#max_used_memory ⇒ Object
Returns the value of attribute max_used_memory.
13 14 15 |
# File 'lib/health_monitor/providers/redis.rb', line 13 def max_used_memory @max_used_memory end |
#url ⇒ Object
Returns the value of attribute url.
13 14 15 |
# File 'lib/health_monitor/providers/redis.rb', line 13 def url @url end |