Class: Sunspot::Rails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb

Instance Method Summary collapse

Instance Method Details

#master_passwordObject



17
18
19
# File 'lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb', line 17

def master_password
  @master_password ||= user_configuration_from_key('master_solr', 'password')
end

#master_userObject



9
10
11
# File 'lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb', line 9

def master_user
  @master_user ||= user_configuration_from_key('master_solr', 'user')
end

#passwordObject



13
14
15
# File 'lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb', line 13

def password
  @password ||= user_configuration_from_key('solr', 'password')
end

#userObject



5
6
7
# File 'lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb', line 5

def user
  @user ||= user_configuration_from_key('solr', 'user')
end