lib/purecloud/api/geolocation_api.rb in purecloud-0.27.0 vs lib/purecloud/api/geolocation_api.rb in purecloud-0.28.0
- old
+ new
@@ -25,11 +25,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: GeolocationApi#get_settings ..."
end
# resource path
- path = "/api/v1/geolocations/settings".sub('{format}','json')
+ path = "/api/v2/geolocations/settings".sub('{format}','json')
# query parameters
query_params = {}
# header parameters
@@ -83,11 +83,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: GeolocationApi#patch_settings ..."
end
# resource path
- path = "/api/v1/geolocations/settings".sub('{format}','json')
+ path = "/api/v2/geolocations/settings".sub('{format}','json')
# query parameters
query_params = {}
# header parameters
@@ -149,11 +149,11 @@
# verify the required parameter 'client_id' is set
fail "Missing the required parameter 'client_id' when calling get_user_id_geolocations_client_id" if client_id.nil?
# resource path
- path = "/api/v1/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
+ path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -217,10 +217,10 @@
# verify the required parameter 'client_id' is set
fail "Missing the required parameter 'client_id' when calling patch_user_id_geolocations_client_id" if client_id.nil?
# resource path
- path = "/api/v1/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
+ path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
# query parameters
query_params = {}
# header parameters