Module: ElasticMap

Defined in:
lib/elastic_map.rb,
lib/elastic_map/config.rb,
lib/elastic_map/version.rb

Overview

You Know What It Is :D

Defined Under Namespace

Classes: Config

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.clientObject

Main elasticsearch-ruby client instance


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

def client
  ::Elasticsearch::Client.new(configuration)
end

.configObject


21
22
23
# File 'lib/elastic_map.rb', line 21

def config
  ElasticMap::Config.instance
end