Class: Solrsan::Config
- Inherits:
-
Object
- Object
- Solrsan::Config
- Includes:
- Singleton
- Defined in:
- lib/solrsan/config.rb
Instance Attribute Summary collapse
-
#solr_server_url ⇒ Object
Returns the value of attribute solr_server_url.
Instance Method Summary collapse
Instance Attribute Details
#solr_server_url ⇒ Object
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_object ⇒ Object
6 7 8 |
# File 'lib/solrsan/config.rb', line 6 def rsolr_object @rsolr = RSolr.connect :url => @solr_server_url end |