lib/purecloudplatformclientv2/api/tokens_api.rb in purecloudplatformclientv2-8.0.0 vs lib/purecloudplatformclientv2/api/tokens_api.rb in purecloudplatformclientv2-9.0.0

- old
+ new

@@ -39,10 +39,11 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_tokens_me_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TokensApi.delete_tokens_me ..." end + # resource path local_var_path = "/api/v2/tokens/me".sub('{format}','json') # query parameters query_params = {} @@ -61,11 +62,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] 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, @@ -91,10 +93,11 @@ # @return [Array<(TokenInfo, Fixnum, Hash)>] TokenInfo data, response status code and response headers def get_tokens_me_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: TokensApi.get_tokens_me ..." end + # resource path local_var_path = "/api/v2/tokens/me".sub('{format}','json') # query parameters query_params = {} @@ -113,10 +116,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body,