forked from loafle/openapi-generator-original
Update api client of ruby client.
Update ApiClient#build_request, change `@verify_ssl`, `@ssl_ca_cert`, `@debugging` to `Configuration.verify_ssl`, `Configuration.ssl_ca_cert`, `Configuration.debugging`.
This commit is contained in:
parent
828f8694c8
commit
7be6e971fa
@ -69,9 +69,9 @@ module {{moduleName}}
|
|||||||
:method => http_method,
|
:method => http_method,
|
||||||
:headers => header_params,
|
:headers => header_params,
|
||||||
:params => query_params,
|
:params => query_params,
|
||||||
:ssl_verifypeer => @verify_ssl,
|
:ssl_verifypeer => Configuration.verify_ssl,
|
||||||
:cainfo => @ssl_ca_cert,
|
:cainfo => Configuration.ssl_ca_cert,
|
||||||
:verbose => @debugging
|
:verbose => Configuration.debugging
|
||||||
}
|
}
|
||||||
|
|
||||||
if [:post, :patch, :put, :delete].include?(http_method)
|
if [:post, :patch, :put, :delete].include?(http_method)
|
||||||
|
@ -69,9 +69,9 @@ module Petstore
|
|||||||
:method => http_method,
|
:method => http_method,
|
||||||
:headers => header_params,
|
:headers => header_params,
|
||||||
:params => query_params,
|
:params => query_params,
|
||||||
:ssl_verifypeer => @verify_ssl,
|
:ssl_verifypeer => Configuration.verify_ssl,
|
||||||
:cainfo => @ssl_ca_cert,
|
:cainfo => Configuration.ssl_ca_cert,
|
||||||
:verbose => @debugging
|
:verbose => Configuration.debugging
|
||||||
}
|
}
|
||||||
|
|
||||||
if [:post, :patch, :put, :delete].include?(http_method)
|
if [:post, :patch, :put, :delete].include?(http_method)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user