candidhealth 0.24.5 → 0.24.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/auth/v_2/client.rb +2 -2
- data/lib/candidhealth/billing_notes/v_2/client.rb +2 -2
- data/lib/candidhealth/contracts/v_2/client.rb +10 -10
- data/lib/candidhealth/custom_schemas/v_1/client.rb +8 -8
- data/lib/candidhealth/eligibility/v_2/client.rb +6 -6
- data/lib/candidhealth/encounters/v_4/client.rb +8 -8
- data/lib/candidhealth/expected_network_status/v_1/client.rb +2 -2
- data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
- data/lib/candidhealth/exports/v_3/client.rb +2 -2
- data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
- data/lib/candidhealth/fee_schedules/v_3/client.rb +20 -20
- data/lib/candidhealth/guarantor/v_1/client.rb +6 -6
- data/lib/candidhealth/import_invoice/v_1/client.rb +8 -8
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +6 -6
- data/lib/candidhealth/insurance_payments/v_1/client.rb +10 -10
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +10 -10
- data/lib/candidhealth/organization_providers/v_3/client.rb +8 -8
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +10 -10
- data/lib/candidhealth/patient_payments/v_4/client.rb +10 -10
- data/lib/candidhealth/patient_refunds/v_1/client.rb +10 -10
- data/lib/candidhealth/payers/v_3/client.rb +4 -4
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +12 -12
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +14 -14
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +3 -3
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +3 -3
- data/lib/candidhealth/service_facility/client.rb +2 -2
- data/lib/candidhealth/tasks/v_3/client.rb +10 -10
- data/lib/candidhealth/write_offs/v_1/client.rb +8 -8
- data/lib/candidhealth.rb +2 -2
- data/lib/environment.rb +0 -8
- data/lib/requests.rb +4 -6
- metadata +2 -2
data/lib/requests.rb
CHANGED
@@ -22,8 +22,7 @@ module CandidApiClient
|
|
22
22
|
# @param timeout_in_seconds [Long]
|
23
23
|
# @param token [String, Method]
|
24
24
|
# @return [CandidApiClient::RequestClient]
|
25
|
-
def initialize(base_url: nil, environment:
|
26
|
-
timeout_in_seconds: nil, token: nil)
|
25
|
+
def initialize(base_url: nil, environment: nil, max_retries: nil, timeout_in_seconds: nil, token: nil)
|
27
26
|
@default_environment = environment
|
28
27
|
@token = token
|
29
28
|
@conn = Faraday.new do |faraday|
|
@@ -43,7 +42,7 @@ module CandidApiClient
|
|
43
42
|
|
44
43
|
# @return [Hash{String => String}]
|
45
44
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.
|
45
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.6" }
|
47
46
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
47
|
headers
|
49
48
|
end
|
@@ -65,8 +64,7 @@ module CandidApiClient
|
|
65
64
|
# @param timeout_in_seconds [Long]
|
66
65
|
# @param token [String, Method]
|
67
66
|
# @return [CandidApiClient::AsyncRequestClient]
|
68
|
-
def initialize(base_url: nil, environment:
|
69
|
-
timeout_in_seconds: nil, token: nil)
|
67
|
+
def initialize(base_url: nil, environment: nil, max_retries: nil, timeout_in_seconds: nil, token: nil)
|
70
68
|
@default_environment = environment
|
71
69
|
@token = token
|
72
70
|
@conn = Faraday.new do |faraday|
|
@@ -87,7 +85,7 @@ module CandidApiClient
|
|
87
85
|
|
88
86
|
# @return [Hash{String => String}]
|
89
87
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.
|
88
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.6" }
|
91
89
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
90
|
headers
|
93
91
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|