Skip to content

Commit 617ccb7

Browse files
fix(specs): saveRule response type [skip-bc] (generated)
algolia/api-clients-automation#4170 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 7158ced commit 617ccb7

File tree

2 files changed

+2
-240
lines changed

2 files changed

+2
-240
lines changed

lib/algolia/api/search_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,10 +2360,10 @@ def save_rule_with_http_info(index_name, object_id, rule, forward_to_replicas =
23602360
# @param rule [Rule] (required)
23612361
# @param forward_to_replicas [Boolean] Whether changes are applied to replica indices.
23622362
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
2363-
# @return [UpdatedRuleResponse]
2363+
# @return [UpdatedAtResponse]
23642364
def save_rule(index_name, object_id, rule, forward_to_replicas = nil, request_options = {})
23652365
response = save_rule_with_http_info(index_name, object_id, rule, forward_to_replicas, request_options)
2366-
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::UpdatedRuleResponse")
2366+
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::UpdatedAtResponse")
23672367
end
23682368

23692369
# Create or update multiple rules. If a rule with the specified object ID doesn't exist, Algolia creates a new one. Otherwise, existing rules are replaced. This operation is subject to [indexing rate limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).

lib/algolia/models/search/updated_rule_response.rb

Lines changed: 0 additions & 238 deletions
This file was deleted.

0 commit comments

Comments
 (0)