lib/algolia/api/query_suggestions_client.rb in algolia-3.2.4 vs lib/algolia/api/query_suggestions_client.rb in algolia-3.3.0

- old
+ new

@@ -37,9 +37,17 @@ def self.create_with_config(config) new(config) end + # Helper method to switch the API key used to authenticate the requests. + # + # @param api_key [String] the new API key to use. + # @return [void] + def set_client_api_key(api_key) + @api_client.set_client_api_key(api_key) + end + # Creates a new Query Suggestions configuration. You can have up to 100 configurations per Algolia application. # # Required API Key ACLs: # - editSettings # @param configuration_with_index [ConfigurationWithIndex] (required)