Class: Solr::Config

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

Direct Known Subclasses

Schema, Solrconfig

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name



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

def name
  @name
end