Class: Solr::Config

Inherits:
Object
  • Object
show all
Defined in:
backend/app/model/solr.rb

Direct Known Subclasses

Schema, Solrconfig

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name



50
51
52
# File 'backend/app/model/solr.rb', line 50

def name
  @name
end