lib/purecloud/api/greetings_api.rb in purecloud-0.68.1 vs lib/purecloud/api/greetings_api.rb in purecloud-0.69.1
- old
+ new
@@ -26,21 +26,21 @@
# Deletes a Greeting with the given GreetingId
#
# @param greeting_id Greeting ID
# @param [Hash] opts the optional parameters
- # @return [Greeting]
+ # @return [nil]
def delete_greeting_id(greeting_id, opts = {})
- data, status_code, headers = delete_greeting_id_with_http_info(greeting_id, opts)
- return data
+ delete_greeting_id_with_http_info(greeting_id, opts)
+ return nil
end
# Deletes a Greeting with the given GreetingId
#
# @param greeting_id Greeting ID
# @param [Hash] opts the optional parameters
- # @return [Array<(Greeting, Fixnum, Hash)>] Greeting data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_greeting_id_with_http_info(greeting_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: GreetingsApi#delete_greeting_id ..."
end
@@ -74,11 +74,10 @@
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
- :auth_names => auth_names,
- :return_type => 'Greeting')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: GreetingsApi#delete_greeting_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end