Class: Solr::Config
- Inherits:
-
Object
- Object
- Solr::Config
- Includes:
- Checksums
- 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.
Methods included from Checksums
#checksum_valid?, #external_checksum, #internal_checksum
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 |