lib/purecloudplatformclientv2/api_client.rb in purecloudplatformclientv2-38.0.0 vs lib/purecloudplatformclientv2/api_client.rb in purecloudplatformclientv2-39.0.0
- old
+ new
@@ -74,11 +74,11 @@
def build_request(http_method, path, opts = {})
url = build_request_url(path)
http_method = http_method.to_sym.downcase
header_params = @default_headers.merge(opts[:header_params] || {})
- header_params['purecloud-sdk'] = '38.0.0'
+ header_params['purecloud-sdk'] = '39.0.0'
query_params = opts[:query_params] || {}
form_params = opts[:form_params] || {}
update_params_for_auth! header_params, query_params, opts[:auth_names]
@@ -327,11 +327,10 @@
when :tsv
param.join("\t")
when :pipes
param.join('|')
when :multi
- # return the array directly as typhoeus will handle it as expected
- param
+ param.join(',')
else
fail "unknown collection format: #{collection_format.inspect}"
end
end
end