58
59
60
61
62
63
64
65
66
67
68
69
70
|
# File 'lib/candidhealth/billing_notes/v_2/client.rb', line 58
def delete(billing_note_id:, request_options: nil)
@request_client.conn.delete do |req|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
req.["Authorization"] = request_options.token unless request_options&.token.nil?
req. = {
**(req. || {}),
**@request_client.,
**(request_options&. || {})
}.compact
req.url "#{@request_client.get_url(environment: CandidApi,
request_options: request_options)}/api/billing_notes/v2/#{billing_note_id}"
end
end
|