Class: HealthMonitor::Providers::Solr::Configuration
- Inherits:
-
Base::Configuration
- Object
- Base::Configuration
- HealthMonitor::Providers::Solr::Configuration
- Defined in:
- lib/health_monitor/providers/solr.rb
Constant Summary collapse
- DEFAULT_URL =
nil- DEFAULT_COLLECTION =
nil
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from Base::Configuration
Instance Method Summary collapse
-
#initialize(provider) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(provider) ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 20 |
# File 'lib/health_monitor/providers/solr.rb', line 15 def initialize(provider) super @url = DEFAULT_URL @collection = DEFAULT_COLLECTION end |
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
13 14 15 |
# File 'lib/health_monitor/providers/solr.rb', line 13 def collection @collection end |
#url ⇒ Object
Returns the value of attribute url.
13 14 15 |
# File 'lib/health_monitor/providers/solr.rb', line 13 def url @url end |