rcs 2.0.0.pre.rc.3 → 2.0.0.pre.rc.4
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5359c70f9a7ce7a7288024ad6d7aefaef2cef5d9a03beb3e3afd62671c7db723
|
4
|
+
data.tar.gz: be2848caca8ff4126d3f9ec0c84e30902721a85b7a81b37bc0dbf4c81f436bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59f56e2b8c19d78d55c9065e958184f2046d3ea5bfa3486d3fce065e330835c4dad35c4fbefc82fb97b6e7c456eb6aecad8fb851a20c890b8ef7292bff05e4b4
|
7
|
+
data.tar.gz: b1c510a805a9614cffbefd1f44a0e1dc22008a9435252e5f70b792fb8dd003b6e000f92f150035860b1430df88d21b5de9111e490addcb87f654bfc1cdfa21a9
|
@@ -135,6 +135,9 @@ module Pinnacle
|
|
135
135
|
# * :name (String)
|
136
136
|
# * :phones (Array<Pinnacle::Campaigns::Rcs::Types::RcsAgentPhone>)
|
137
137
|
# * :websites (Array<Pinnacle::Campaigns::Rcs::Types::RcsAgentWebsite>)
|
138
|
+
# @param brand_verification_url [String] Link to document verifying the brand's name. This may be the certificate of
|
139
|
+
# incorporation, business license, or other relevant document. You can typically
|
140
|
+
# find this on the Secretary of State website.
|
138
141
|
# @param brand [Integer] Unique identifier for the brand.
|
139
142
|
# @param campaign_id [Integer] Unique identifier for the campaign.
|
140
143
|
# @param expected_agent_responses [Array<String>] List of what the agent might say to users (1-5 required).
|
@@ -160,6 +163,7 @@ module Pinnacle
|
|
160
163
|
# )
|
161
164
|
# api.campaigns.rcs.upsert(
|
162
165
|
# agent: { color: "#000000", description: "Engaging campaigns with RBM – next-gen SMS marketing with rich content and better analytics.", emails: [{ email: "founders@trypinnacle.app", label: "Email Us" }], hero_url: "https://agent-logos.storage.googleapis.com/_/m0bk9mmw7kfynqiKSPfsaoc6", icon_url: "https://agent-logos.storage.googleapis.com/_/m0bk9gvlDunZEw1krfruZmw3", name: "Pinnacle Software Development", phones: [{ label: "Contact us directly", phone: "+14154467821" }], websites: [{ label: "Get started with Pinnacle", url: "https://www.trypinnacle.app/" }] },
|
166
|
+
# brand_verification_url: "https://www.pinnacle.sh/articles-of-incorporation.pdf",
|
163
167
|
# brand: 2,
|
164
168
|
# expected_agent_responses: ["Here are the things I can help you with.", "I can assist you with booking an appointment, or you may choose to book manually.", "Here are the available times to connect with a representative tomorrow.", "Your appointment has been scheduled."],
|
165
169
|
# links: { privacy_policy: "https://www.trypinnacle.app/privacy", terms_of_service: "https://www.trypinnacle.app/terms" },
|
@@ -167,8 +171,8 @@ module Pinnacle
|
|
167
171
|
# opt_out: { description: "Reply STOP to opt-out anytime.", keywords: ["STOP", "UNSUBSCRIBE", "END"] },
|
168
172
|
# use_case: { behavior: "Acts as a customer service representative.", value: OTHER }
|
169
173
|
# )
|
170
|
-
def upsert(agent: nil,
|
171
|
-
opt_out: nil, use_case: nil, request_options: nil)
|
174
|
+
def upsert(agent: nil, brand_verification_url: nil, brand: nil, campaign_id: nil, expected_agent_responses: nil,
|
175
|
+
links: nil, opt_in: nil, opt_out: nil, use_case: nil, request_options: nil)
|
172
176
|
response = @request_client.conn.post do |req|
|
173
177
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
174
178
|
req.headers["PINNACLE-API-KEY"] = request_options.api_key unless request_options&.api_key.nil?
|
@@ -183,6 +187,7 @@ module Pinnacle
|
|
183
187
|
req.body = {
|
184
188
|
**(request_options&.additional_body_parameters || {}),
|
185
189
|
agent: agent,
|
190
|
+
brandVerificationUrl: brand_verification_url,
|
186
191
|
brand: brand,
|
187
192
|
campaignId: campaign_id,
|
188
193
|
expectedAgentResponses: expected_agent_responses,
|
@@ -355,6 +360,9 @@ module Pinnacle
|
|
355
360
|
# * :name (String)
|
356
361
|
# * :phones (Array<Pinnacle::Campaigns::Rcs::Types::RcsAgentPhone>)
|
357
362
|
# * :websites (Array<Pinnacle::Campaigns::Rcs::Types::RcsAgentWebsite>)
|
363
|
+
# @param brand_verification_url [String] Link to document verifying the brand's name. This may be the certificate of
|
364
|
+
# incorporation, business license, or other relevant document. You can typically
|
365
|
+
# find this on the Secretary of State website.
|
358
366
|
# @param brand [Integer] Unique identifier for the brand.
|
359
367
|
# @param campaign_id [Integer] Unique identifier for the campaign.
|
360
368
|
# @param expected_agent_responses [Array<String>] List of what the agent might say to users (1-5 required).
|
@@ -380,6 +388,7 @@ module Pinnacle
|
|
380
388
|
# )
|
381
389
|
# api.campaigns.rcs.upsert(
|
382
390
|
# agent: { color: "#000000", description: "Engaging campaigns with RBM – next-gen SMS marketing with rich content and better analytics.", emails: [{ email: "founders@trypinnacle.app", label: "Email Us" }], hero_url: "https://agent-logos.storage.googleapis.com/_/m0bk9mmw7kfynqiKSPfsaoc6", icon_url: "https://agent-logos.storage.googleapis.com/_/m0bk9gvlDunZEw1krfruZmw3", name: "Pinnacle Software Development", phones: [{ label: "Contact us directly", phone: "+14154467821" }], websites: [{ label: "Get started with Pinnacle", url: "https://www.trypinnacle.app/" }] },
|
391
|
+
# brand_verification_url: "https://www.pinnacle.sh/articles-of-incorporation.pdf",
|
383
392
|
# brand: 2,
|
384
393
|
# expected_agent_responses: ["Here are the things I can help you with.", "I can assist you with booking an appointment, or you may choose to book manually.", "Here are the available times to connect with a representative tomorrow.", "Your appointment has been scheduled."],
|
385
394
|
# links: { privacy_policy: "https://www.trypinnacle.app/privacy", terms_of_service: "https://www.trypinnacle.app/terms" },
|
@@ -387,8 +396,8 @@ module Pinnacle
|
|
387
396
|
# opt_out: { description: "Reply STOP to opt-out anytime.", keywords: ["STOP", "UNSUBSCRIBE", "END"] },
|
388
397
|
# use_case: { behavior: "Acts as a customer service representative.", value: OTHER }
|
389
398
|
# )
|
390
|
-
def upsert(agent: nil,
|
391
|
-
opt_out: nil, use_case: nil, request_options: nil)
|
399
|
+
def upsert(agent: nil, brand_verification_url: nil, brand: nil, campaign_id: nil, expected_agent_responses: nil,
|
400
|
+
links: nil, opt_in: nil, opt_out: nil, use_case: nil, request_options: nil)
|
392
401
|
Async do
|
393
402
|
response = @request_client.conn.post do |req|
|
394
403
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -404,6 +413,7 @@ module Pinnacle
|
|
404
413
|
req.body = {
|
405
414
|
**(request_options&.additional_body_parameters || {}),
|
406
415
|
agent: agent,
|
416
|
+
brandVerificationUrl: brand_verification_url,
|
407
417
|
brand: brand,
|
408
418
|
campaignId: campaign_id,
|
409
419
|
expectedAgentResponses: expected_agent_responses,
|
@@ -19,6 +19,10 @@ module Pinnacle
|
|
19
19
|
attr_reader :agent
|
20
20
|
# @return [Integer] Unique identifier for the campaign.
|
21
21
|
attr_reader :campaign_id
|
22
|
+
# @return [String] Link to document verifying the brand's name. This may be the certificate of
|
23
|
+
# incorporation, business license, or other relevant document. You can typically
|
24
|
+
# find this on the Secretary of State website.
|
25
|
+
attr_reader :brand_verification_url
|
22
26
|
# @return [Array<String>] List of what the agent might say to users.
|
23
27
|
attr_reader :expected_agent_responses
|
24
28
|
# @return [Pinnacle::Types::RcsCampaignSchemaLinks] Legal documentation links.
|
@@ -40,6 +44,9 @@ module Pinnacle
|
|
40
44
|
# @param brand [Integer]
|
41
45
|
# @param agent [Pinnacle::Types::RcsCampaignSchemaAgent] Agent configured to the campaign.
|
42
46
|
# @param campaign_id [Integer] Unique identifier for the campaign.
|
47
|
+
# @param brand_verification_url [String] Link to document verifying the brand's name. This may be the certificate of
|
48
|
+
# incorporation, business license, or other relevant document. You can typically
|
49
|
+
# find this on the Secretary of State website.
|
43
50
|
# @param expected_agent_responses [Array<String>] List of what the agent might say to users.
|
44
51
|
# @param links [Pinnacle::Types::RcsCampaignSchemaLinks] Legal documentation links.
|
45
52
|
# @param opt_in [Pinnacle::Types::RcsCampaignSchemaOptIn] Opt-in configuration.
|
@@ -47,11 +54,12 @@ module Pinnacle
|
|
47
54
|
# @param use_case [Pinnacle::Types::RcsCampaignSchemaUseCase] Use case classification for the campaign.
|
48
55
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
49
56
|
# @return [Pinnacle::Campaigns::Rcs::Types::RcsAutofillResponse]
|
50
|
-
def initialize(brand: OMIT, agent: OMIT, campaign_id: OMIT,
|
51
|
-
opt_in: OMIT, opt_out: OMIT, use_case: OMIT, additional_properties: nil)
|
57
|
+
def initialize(brand: OMIT, agent: OMIT, campaign_id: OMIT, brand_verification_url: OMIT,
|
58
|
+
expected_agent_responses: OMIT, links: OMIT, opt_in: OMIT, opt_out: OMIT, use_case: OMIT, additional_properties: nil)
|
52
59
|
@brand = brand if brand != OMIT
|
53
60
|
@agent = agent if agent != OMIT
|
54
61
|
@campaign_id = campaign_id if campaign_id != OMIT
|
62
|
+
@brand_verification_url = brand_verification_url if brand_verification_url != OMIT
|
55
63
|
@expected_agent_responses = expected_agent_responses if expected_agent_responses != OMIT
|
56
64
|
@links = links if links != OMIT
|
57
65
|
@opt_in = opt_in if opt_in != OMIT
|
@@ -62,6 +70,7 @@ module Pinnacle
|
|
62
70
|
"brand": brand,
|
63
71
|
"agent": agent,
|
64
72
|
"campaignId": campaign_id,
|
73
|
+
"brandVerificationUrl": brand_verification_url,
|
65
74
|
"expectedAgentResponses": expected_agent_responses,
|
66
75
|
"links": links,
|
67
76
|
"optIn": opt_in,
|
@@ -87,6 +96,7 @@ module Pinnacle
|
|
87
96
|
agent = Pinnacle::Types::RcsCampaignSchemaAgent.from_json(json_object: agent)
|
88
97
|
end
|
89
98
|
campaign_id = parsed_json["campaignId"]
|
99
|
+
brand_verification_url = parsed_json["brandVerificationUrl"]
|
90
100
|
expected_agent_responses = parsed_json["expectedAgentResponses"]
|
91
101
|
if parsed_json["links"].nil?
|
92
102
|
links = nil
|
@@ -116,6 +126,7 @@ module Pinnacle
|
|
116
126
|
brand: brand,
|
117
127
|
agent: agent,
|
118
128
|
campaign_id: campaign_id,
|
129
|
+
brand_verification_url: brand_verification_url,
|
119
130
|
expected_agent_responses: expected_agent_responses,
|
120
131
|
links: links,
|
121
132
|
opt_in: opt_in,
|
@@ -142,6 +153,7 @@ module Pinnacle
|
|
142
153
|
obj.brand&.is_a?(Integer) != false || raise("Passed value for field obj.brand is not the expected type, validation failed.")
|
143
154
|
obj.agent.nil? || Pinnacle::Types::RcsCampaignSchemaAgent.validate_raw(obj: obj.agent)
|
144
155
|
obj.campaign_id&.is_a?(Integer) != false || raise("Passed value for field obj.campaign_id is not the expected type, validation failed.")
|
156
|
+
obj.brand_verification_url&.is_a?(String) != false || raise("Passed value for field obj.brand_verification_url is not the expected type, validation failed.")
|
145
157
|
obj.expected_agent_responses&.is_a?(Array) != false || raise("Passed value for field obj.expected_agent_responses is not the expected type, validation failed.")
|
146
158
|
obj.links.nil? || Pinnacle::Types::RcsCampaignSchemaLinks.validate_raw(obj: obj.links)
|
147
159
|
obj.opt_in.nil? || Pinnacle::Types::RcsCampaignSchemaOptIn.validate_raw(obj: obj.opt_in)
|
@@ -18,6 +18,10 @@ module Pinnacle
|
|
18
18
|
attr_reader :agent_id
|
19
19
|
# @return [Pinnacle::Types::ExtendedBrand] Brand associated with this campaign.
|
20
20
|
attr_reader :brand
|
21
|
+
# @return [String] Link to document verifying the brand's name. This may be the certificate of
|
22
|
+
# incorporation, business license, or other relevant document. You can typically
|
23
|
+
# find this on the Secretary of State website.
|
24
|
+
attr_reader :brand_verification_url
|
21
25
|
# @return [Boolean] Indicates whether the brand has provided an attestation.
|
22
26
|
attr_reader :brand_attestation
|
23
27
|
# @return [Integer] Unique identifier for the campaign.
|
@@ -43,6 +47,9 @@ module Pinnacle
|
|
43
47
|
# @param agent [Pinnacle::Types::RcsCampaignSchemaExtraAgent] Agent configured to the campaign.
|
44
48
|
# @param agent_id [String] Agent's unique identifier.
|
45
49
|
# @param brand [Pinnacle::Types::ExtendedBrand] Brand associated with this campaign.
|
50
|
+
# @param brand_verification_url [String] Link to document verifying the brand's name. This may be the certificate of
|
51
|
+
# incorporation, business license, or other relevant document. You can typically
|
52
|
+
# find this on the Secretary of State website.
|
46
53
|
# @param brand_attestation [Boolean] Indicates whether the brand has provided an attestation.
|
47
54
|
# @param campaign_id [Integer] Unique identifier for the campaign.
|
48
55
|
# @param expected_agent_responses [Array<String>] List of what the agent might say to users.
|
@@ -52,11 +59,12 @@ module Pinnacle
|
|
52
59
|
# @param use_case [Pinnacle::Types::RcsCampaignSchemaExtraUseCase] Use case classification for the campaign.
|
53
60
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
54
61
|
# @return [Pinnacle::Types::ExtendedRcsCampaign]
|
55
|
-
def initialize(agent:, agent_id:, brand:, brand_attestation:, campaign_id:, links:, opt_in:, opt_out:, use_case:,
|
62
|
+
def initialize(agent:, agent_id:, brand:, brand_attestation:, campaign_id:, links:, opt_in:, opt_out:, use_case:, brand_verification_url: OMIT,
|
56
63
|
expected_agent_responses: OMIT, additional_properties: nil)
|
57
64
|
@agent = agent
|
58
65
|
@agent_id = agent_id
|
59
66
|
@brand = brand
|
67
|
+
@brand_verification_url = brand_verification_url if brand_verification_url != OMIT
|
60
68
|
@brand_attestation = brand_attestation
|
61
69
|
@campaign_id = campaign_id
|
62
70
|
@expected_agent_responses = expected_agent_responses if expected_agent_responses != OMIT
|
@@ -69,6 +77,7 @@ module Pinnacle
|
|
69
77
|
"agent": agent,
|
70
78
|
"agentId": agent_id,
|
71
79
|
"brand": brand,
|
80
|
+
"brandVerificationUrl": brand_verification_url,
|
72
81
|
"brandAttestation": brand_attestation,
|
73
82
|
"campaignId": campaign_id,
|
74
83
|
"expectedAgentResponses": expected_agent_responses,
|
@@ -101,6 +110,7 @@ module Pinnacle
|
|
101
110
|
brand = parsed_json["brand"].to_json
|
102
111
|
brand = Pinnacle::Types::ExtendedBrand.from_json(json_object: brand)
|
103
112
|
end
|
113
|
+
brand_verification_url = parsed_json["brandVerificationUrl"]
|
104
114
|
brand_attestation = parsed_json["brandAttestation"]
|
105
115
|
campaign_id = parsed_json["campaignId"]
|
106
116
|
expected_agent_responses = parsed_json["expectedAgentResponses"]
|
@@ -132,6 +142,7 @@ module Pinnacle
|
|
132
142
|
agent: agent,
|
133
143
|
agent_id: agent_id,
|
134
144
|
brand: brand,
|
145
|
+
brand_verification_url: brand_verification_url,
|
135
146
|
brand_attestation: brand_attestation,
|
136
147
|
campaign_id: campaign_id,
|
137
148
|
expected_agent_responses: expected_agent_responses,
|
@@ -160,6 +171,7 @@ module Pinnacle
|
|
160
171
|
Pinnacle::Types::RcsCampaignSchemaExtraAgent.validate_raw(obj: obj.agent)
|
161
172
|
obj.agent_id.is_a?(String) != false || raise("Passed value for field obj.agent_id is not the expected type, validation failed.")
|
162
173
|
Pinnacle::Types::ExtendedBrand.validate_raw(obj: obj.brand)
|
174
|
+
obj.brand_verification_url&.is_a?(String) != false || raise("Passed value for field obj.brand_verification_url is not the expected type, validation failed.")
|
163
175
|
obj.brand_attestation.is_a?(Boolean) != false || raise("Passed value for field obj.brand_attestation is not the expected type, validation failed.")
|
164
176
|
obj.campaign_id.is_a?(Integer) != false || raise("Passed value for field obj.campaign_id is not the expected type, validation failed.")
|
165
177
|
obj.expected_agent_responses&.is_a?(Array) != false || raise("Passed value for field obj.expected_agent_responses is not the expected type, validation failed.")
|
@@ -15,6 +15,10 @@ module Pinnacle
|
|
15
15
|
attr_reader :agent
|
16
16
|
# @return [Integer] Unique identifier for the campaign.
|
17
17
|
attr_reader :campaign_id
|
18
|
+
# @return [String] Link to document verifying the brand's name. This may be the certificate of
|
19
|
+
# incorporation, business license, or other relevant document. You can typically
|
20
|
+
# find this on the Secretary of State website.
|
21
|
+
attr_reader :brand_verification_url
|
18
22
|
# @return [Array<String>] List of what the agent might say to users.
|
19
23
|
attr_reader :expected_agent_responses
|
20
24
|
# @return [Pinnacle::Types::RcsCampaignSchemaLinks] Legal documentation links.
|
@@ -35,6 +39,9 @@ module Pinnacle
|
|
35
39
|
|
36
40
|
# @param agent [Pinnacle::Types::RcsCampaignSchemaAgent] Agent configured to the campaign.
|
37
41
|
# @param campaign_id [Integer] Unique identifier for the campaign.
|
42
|
+
# @param brand_verification_url [String] Link to document verifying the brand's name. This may be the certificate of
|
43
|
+
# incorporation, business license, or other relevant document. You can typically
|
44
|
+
# find this on the Secretary of State website.
|
38
45
|
# @param expected_agent_responses [Array<String>] List of what the agent might say to users.
|
39
46
|
# @param links [Pinnacle::Types::RcsCampaignSchemaLinks] Legal documentation links.
|
40
47
|
# @param opt_in [Pinnacle::Types::RcsCampaignSchemaOptIn] Opt-in configuration.
|
@@ -42,10 +49,11 @@ module Pinnacle
|
|
42
49
|
# @param use_case [Pinnacle::Types::RcsCampaignSchemaUseCase] Use case classification for the campaign.
|
43
50
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
44
51
|
# @return [Pinnacle::Types::RcsCampaign]
|
45
|
-
def initialize(agent: OMIT, campaign_id: OMIT,
|
46
|
-
opt_out: OMIT, use_case: OMIT, additional_properties: nil)
|
52
|
+
def initialize(agent: OMIT, campaign_id: OMIT, brand_verification_url: OMIT, expected_agent_responses: OMIT,
|
53
|
+
links: OMIT, opt_in: OMIT, opt_out: OMIT, use_case: OMIT, additional_properties: nil)
|
47
54
|
@agent = agent if agent != OMIT
|
48
55
|
@campaign_id = campaign_id if campaign_id != OMIT
|
56
|
+
@brand_verification_url = brand_verification_url if brand_verification_url != OMIT
|
49
57
|
@expected_agent_responses = expected_agent_responses if expected_agent_responses != OMIT
|
50
58
|
@links = links if links != OMIT
|
51
59
|
@opt_in = opt_in if opt_in != OMIT
|
@@ -55,6 +63,7 @@ module Pinnacle
|
|
55
63
|
@_field_set = {
|
56
64
|
"agent": agent,
|
57
65
|
"campaignId": campaign_id,
|
66
|
+
"brandVerificationUrl": brand_verification_url,
|
58
67
|
"expectedAgentResponses": expected_agent_responses,
|
59
68
|
"links": links,
|
60
69
|
"optIn": opt_in,
|
@@ -79,6 +88,7 @@ module Pinnacle
|
|
79
88
|
agent = Pinnacle::Types::RcsCampaignSchemaAgent.from_json(json_object: agent)
|
80
89
|
end
|
81
90
|
campaign_id = parsed_json["campaignId"]
|
91
|
+
brand_verification_url = parsed_json["brandVerificationUrl"]
|
82
92
|
expected_agent_responses = parsed_json["expectedAgentResponses"]
|
83
93
|
if parsed_json["links"].nil?
|
84
94
|
links = nil
|
@@ -107,6 +117,7 @@ module Pinnacle
|
|
107
117
|
new(
|
108
118
|
agent: agent,
|
109
119
|
campaign_id: campaign_id,
|
120
|
+
brand_verification_url: brand_verification_url,
|
110
121
|
expected_agent_responses: expected_agent_responses,
|
111
122
|
links: links,
|
112
123
|
opt_in: opt_in,
|
@@ -132,6 +143,7 @@ module Pinnacle
|
|
132
143
|
def self.validate_raw(obj:)
|
133
144
|
obj.agent.nil? || Pinnacle::Types::RcsCampaignSchemaAgent.validate_raw(obj: obj.agent)
|
134
145
|
obj.campaign_id&.is_a?(Integer) != false || raise("Passed value for field obj.campaign_id is not the expected type, validation failed.")
|
146
|
+
obj.brand_verification_url&.is_a?(String) != false || raise("Passed value for field obj.brand_verification_url is not the expected type, validation failed.")
|
135
147
|
obj.expected_agent_responses&.is_a?(Array) != false || raise("Passed value for field obj.expected_agent_responses is not the expected type, validation failed.")
|
136
148
|
obj.links.nil? || Pinnacle::Types::RcsCampaignSchemaLinks.validate_raw(obj: obj.links)
|
137
149
|
obj.opt_in.nil? || Pinnacle::Types::RcsCampaignSchemaOptIn.validate_raw(obj: obj.opt_in)
|
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": "2.0.0-rc.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "2.0.0-rc.4" }
|
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": "2.0.0-rc.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "2.0.0-rc.4" }
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rcs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.rc.
|
4
|
+
version: 2.0.0.pre.rc.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|