File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ ConnectWise.configure do |config|
5757 config.host = ' api-na.myconnectwise.net' # your connectwise url
5858 config.base_path = ' /v4_6_release/apis/3.0' # Or alternative code base release
5959 config.scheme = ' https'
60+ config.client_id = ' XXXX'
6061end
6162
6263api_instance = ConnectWise ::AccountingBatchesApi .new
@@ -2523,4 +2524,3 @@ Class | Method | HTTP request | Description
25232524### BasicAuth
25242525
25252526- ** Type** : HTTP basic authentication
2526-
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ def initialize(config = Configuration.default)
2323 @user_agent = "Swagger-Codegen/#{ VERSION } /ruby"
2424 @default_headers = {
2525 'Content-Type' => "application/json" ,
26- 'User-Agent' => @user_agent
26+ 'User-Agent' => @user_agent ,
27+ 'clientId' => @config . client_id
2728 }
2829 end
2930
Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ class Configuration
2020 # config.api_key['api_key'] = 'xxx'
2121 attr_accessor :api_key
2222
23+ # Defines the clientId header to send with requests
24+ #
25+ # @return [String]
26+ attr_accessor :client_id
27+
28+
2329 # Defines API key prefixes used with API Key authentications.
2430 #
2531 # @return [Hash] key: parameter name, value: API key prefix
You can’t perform that action at this time.
0 commit comments