class Elastomer::CLI::Base
Protected Instance Methods
client()
click to toggle source
# File lib/elastomer/cli/base.rb, line 9 def client # Elastomer::Client requires symbol keys, but options returns string # keys @client ||= Elastomer::Client.new( :url => options[:url] || ENV['BOXEN_ELASTICSEARCH_URL'] || 'http://localhost:9200', :read_timeout => options[:read_timeout], :open_timeout => options[:open_timeout] ) end