Module: Mindex

Defined in:
lib/mindex.rb,
lib/mindex/index.rb,
lib/mindex/version.rb,
lib/mindex/elasticsearch.rb

Defined Under Namespace

Modules: Index Classes: Elasticsearch

Constant Summary collapse

VERSION =
'0.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



13
14
15
# File 'lib/mindex.rb', line 13

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

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/mindex.rb', line 17

def self.configure
  yield(config)
end