Skip to content

Commit 66a694e

Browse files
committed
fix(ruby): prefix models by the module (generated)
algolia/api-clients-automation#3927 Co-authored-by: algolia-bot <[email protected]>
1 parent 5b2e8d4 commit 66a694e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/algolia/api/monitoring_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def get_reachability_with_http_info(clusters, request_options = {})
489489
# @return [Hash<String, Hash>]
490490
def get_reachability(clusters, request_options = {})
491491
response = get_reachability_with_http_info(clusters, request_options)
492-
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Monitoring::Hash<String, Hash>")
492+
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Hash<String, Hash>")
493493
end
494494

495495
# Retrieves the servers that belong to clusters. The response depends on whether you authenticate your API request: - With authentication, the response lists the servers assigned to your Algolia application&#39;s cluster. - Without authentication, the response lists the servers for all Algolia clusters.

lib/algolia/api/search_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ def get_dictionary_languages_with_http_info(request_options = {})
12451245
# @return [Hash<String, Languages>]
12461246
def get_dictionary_languages(request_options = {})
12471247
response = get_dictionary_languages_with_http_info(request_options)
1248-
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::Hash<String, Languages>")
1248+
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Hash<String, Languages>")
12491249
end
12501250

12511251
# Retrieves the languages for which standard dictionary entries are turned off.
@@ -1400,7 +1400,7 @@ def get_object_with_http_info(index_name, object_id, attributes_to_retrieve = ni
14001400
# @return [Object]
14011401
def get_object(index_name, object_id, attributes_to_retrieve = nil, request_options = {})
14021402
response = get_object_with_http_info(index_name, object_id, attributes_to_retrieve, request_options)
1403-
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::Object")
1403+
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
14041404
end
14051405

14061406
# Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.

0 commit comments

Comments
 (0)