Sha256: 69498a3c841fa8d60b52615433b6e610a2d42dad77c0c1f78b4dfd8f4aafe59f

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

require 'mindex/version'
require 'mindex/elasticsearch'
require 'mindex/index'
require 'ostruct'

module Mindex
  class << self
    attr_writer :config
  end

  def self.config
    @config ||= OpenStruct.new
  end

  def self.configure
    yield(config)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mindex-0.2.0 lib/mindex.rb
mindex-0.1.0 lib/mindex.rb