lib/moneykit/api/webhooks_api.rb in moneykit-0.1.2 vs lib/moneykit/api/webhooks_api.rb in moneykit-0.1.3

- old
+ new

@@ -1,11 +1,11 @@ =begin #MoneyKit API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 0.1.0 +The version of the OpenAPI document: 2023-02-18 Generated by: https://openapi-generator.tech OpenAPI Generator version: 7.1.0 =end @@ -21,22 +21,20 @@ end # Trigger a test webhook event for a link (Sandbox only). # @param id [String] The unique ID for this link. # @param webhook_test_link_request [WebhookTestLinkRequest] # @param [Hash] opts the optional parameters - # @option opts [String] :moneykit_version (default to '2023-02-18') # @return [WebhookTestLinkResponse] def trigger_test_link_webhook_event(id, webhook_test_link_request, opts = {}) data, _status_code, _headers = trigger_test_link_webhook_event_with_http_info(id, webhook_test_link_request, opts) data end # Trigger a test webhook event for a link (Sandbox only). # @param id [String] The unique ID for this link. # @param webhook_test_link_request [WebhookTestLinkRequest] # @param [Hash] opts the optional parameters - # @option opts [String] :moneykit_version (default to '2023-02-18') # @return [Array<(WebhookTestLinkResponse, Integer, Hash)>] WebhookTestLinkResponse data, response status code and response headers def trigger_test_link_webhook_event_with_http_info(id, webhook_test_link_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WebhooksApi.trigger_test_link_webhook_event ...' end @@ -61,10 +59,9 @@ # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end - header_params[:'moneykit-version'] = opts[:'moneykit_version'] if !opts[:'moneykit_version'].nil? # form parameters form_params = opts[:form_params] || {} # http body (model)