Does the Elasticsearch Ruby gem support both http and https hosts?

I want to transition a cluster of ES nodes from HTTP to HTTPS. When the list of hosts I pass in to the ES client is either all http or https, it works fine. But when it's a mix I run into a variety of errors. Does the gem support a mix of https and http nodes, or does it have to be one or the other? Thanks.