Right now, the Elasticsearch::Client.new can accept the keys:
And the values can be:
This should be consolidated into one key and one type. For example, just hosts and a list of String or URI objects:
client = Elasticsearch::Client.new(hosts: [ 'http://localhost:9200' ])