module Elasticord
Constants
- VERSION
Public Class Methods
configure() { |Config| ... }
click to toggle source
# File lib/elasticord.rb, line 18 def self.configure yield(Config) end
elastic_search_client()
click to toggle source
# File lib/elasticord.rb, line 9 def self.elastic_search_client @elastic_search_client ||= reset_elastic_search_client end
reset_elastic_search_client()
click to toggle source
# File lib/elasticord.rb, line 13 def self.reset_elastic_search_client @elastic_search_client = Elasticsearch::Client.new \ log: Elasticord::Config.get(:log) end