As described in the title. Workaround is to change the actual name to 'name'. However I am not sure if this is safe.
This line
https://github.com/elastic/elasticsearch-ruby/blob/master/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L164
should be changed to
cloud_url, elasticsearch_instance = Base64.decode64(arguments[:cloud_id].gsub(/^[^:]+:/,'')).split('$')