From 18fbb064e2d74d685039ba3c62003cd1d8bbf53e Mon Sep 17 00:00:00 2001 From: superchilled Date: Tue, 31 Oct 2023 15:12:48 +0000 Subject: [PATCH] Updating comments for Application create and update --- lib/vonage/applications.rb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/vonage/applications.rb b/lib/vonage/applications.rb index 0b4371b6..496421d9 100644 --- a/lib/vonage/applications.rb +++ b/lib/vonage/applications.rb @@ -33,6 +33,8 @@ class Applications < Namespace # # response = client.applications.create(params) # + # @param [Hash] params + # # @option params [required, String] :name # Application name. # @@ -44,7 +46,9 @@ class Applications < Namespace # This contains the configuration for each product. # This replaces the application `type` from version 1 of the Application API. # - # @param [Hash] params + # @option params [Hash] :privacy + # - **:improve_ai** (Boolean) If set to `true``, Vonage may store and use your content and data for the improvement + # of Vonage's AI based services and technologies. # # @return [Response] # @@ -73,7 +77,7 @@ def create(params) # Set this to `false` to not auto-advance through all the pages in the record # and collect all the data. The default is `true`. # @param [Hash] params - # + # # @return [ListResponse] # # @see https://developer.nexmo.com/api/application.v2#listApplication @@ -109,6 +113,9 @@ def get(id) # @example # response = client.applications.update(id, answer_method: 'POST') # + # @param [String] id + # @param [Hash] params + # # @option params [required, String] :name # Application name. # @@ -120,8 +127,9 @@ def get(id) # This contains the configuration for each product. # This replaces the application `type` from version 1 of the Application API. # - # @param [String] id - # @param [Hash] params + # @option params [Hash] :privacy + # - **:improve_ai** (Boolean) If set to `true``, Vonage may store and use your content and data for the improvement + # of Vonage's AI based services and technologies. # # @return [Response] #