Class: Solr::Config
- Inherits:
-
Object
- Object
- Solr::Config
- Defined in:
- backend/app/model/solr.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(url, name = nil) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(url, name = nil) ⇒ Config
Returns a new instance of Config.
52 53 54 55 56 57 58 |
# File 'backend/app/model/solr.rb', line 52 def initialize(url, name = nil) @external_checksum = nil @internal_checksum = nil @name = name @path = nil @url = url end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
50 51 52 |
# File 'backend/app/model/solr.rb', line 50 def name @name end |