Class: Solrsan::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/solrsan/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#solr_server_urlObject

Returns the value of attribute solr_server_url.



4
5
6
# File 'lib/solrsan/config.rb', line 4

def solr_server_url
  @solr_server_url
end

Instance Method Details

#rsolr_objectObject



6
7
8
# File 'lib/solrsan/config.rb', line 6

def rsolr_object
  @rsolr = RSolr.connect :url => @solr_server_url
end