Sha256: 7dfdc8bb03ced585b70cd797b306a707bb52b629453c57d7fa6a2fe16366b519

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

require 'hosted_solr/api/configuration'

module HostedSolr
  module API
    class << self
      attr_accessor :configuration

      def configuration
        @configuration ||= Configuration.new
      end

      def configure
        yield configuration
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hosted_solr-api-0.6.0 lib/hosted_solr/api/configuration_sugar.rb