class EsExperiment::Config
Attributes
connection_tries[RW]
documents_path[RW]
index[RW]
schema_path[RW]
time_between_connection_tries[W]
url[RW]
Public Instance Methods
schema()
click to toggle source
# File lib/es_experiment/config.rb, line 16 def schema @schema ||= Oj.load(File.read(File.join(Dir.pwd, schema_path))) end
time_between_connection_tries()
click to toggle source
# File lib/es_experiment/config.rb, line 12 def time_between_connection_tries @time_between_connection_tries || 3 end