Sha256: c556601c257f6dc840742056f19bd8911e2fcbdbb8dc6256a28da0d3e15c0197

Contents?: true

Size: 521 Bytes

Versions: 2

Compression:

Stored size: 521 Bytes

Contents

module Sunspot
  module Rails
    class Configuration
      
      def user
        @user ||= user_configuration_from_key('solr', 'user')
      end
      
      def master_user
        @master_user ||= user_configuration_from_key('master_solr', 'user')
      end
      
      def password
        @password ||= user_configuration_from_key('solr', 'password')
      end
      
      def master_password
        @master_password ||= user_configuration_from_key('master_solr', 'password')
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sunspot-rails-http-basic-auth-0.0.2 lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb
sunspot-rails-http-basic-auth-0.0.1 lib/sunspot-rails-http-basic-auth/sunspot/rails/configuration.rb