rcs 1.0.17 → 1.0.18
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/rcs/company/client.rb +2 -2
- data/lib/requests.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 136abdf05e10f91dfd2f6887a0fc7d604b0923a4324a93f63610ce033db24a51
|
4
|
+
data.tar.gz: 07ae0f8fb7fcb527d7e88ac474819d43d303919baf0056352c90b1e8414377d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2ad9f1075a4c578876caebede6b7dd9bd9865a8eb21ddfd516338b5d77b3ad57d2fa3f9059179345f4d80f607a9f9cc1dad47521bdac767ffec7519364eb697
|
7
|
+
data.tar.gz: 07db3f3b3564a39bea88b6864b0065c625f2742e3ad769f000a96cdd79981a8ed7e6a7bd3c871e2000531bc8d7c47cbcbe0704d989710665e20d90c1a095e576
|
data/lib/rcs/company/client.rb
CHANGED
@@ -93,7 +93,7 @@ module Pinnacle
|
|
93
93
|
Pinnacle::Company::CompanyRegisterResponse.from_json(json_object: response.body)
|
94
94
|
end
|
95
95
|
|
96
|
-
#
|
96
|
+
# Upsert a company on the Pinnacle platform
|
97
97
|
#
|
98
98
|
# @param company_id [String] Optional company ID. If provided, updates existing company. If not provided,
|
99
99
|
# creates a new company.
|
@@ -274,7 +274,7 @@ module Pinnacle
|
|
274
274
|
end
|
275
275
|
end
|
276
276
|
|
277
|
-
#
|
277
|
+
# Upsert a company on the Pinnacle platform
|
278
278
|
#
|
279
279
|
# @param company_id [String] Optional company ID. If provided, updates existing company. If not provided,
|
280
280
|
# creates a new company.
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module Pinnacle
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.18" }
|
47
47
|
headers["PINNACLE-API-Key"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module Pinnacle
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.18" }
|
91
91
|
headers["PINNACLE-API-Key"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
|
92
92
|
headers
|
93
93
|
end
|