speakeasy_client_sdk_ruby 4.0.16 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f95f25f11f1769e451be4caeafecd9ca180297ff0f01283675a0ff910e82c7
|
4
|
+
data.tar.gz: 2419fa7582602e22cd1662c39f482bcf9d735a58faa9b1f1daa41d0bfae6b413
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4956a677c95ae2cfe140c308e87548ca9176d683211904b1bfe03e7a1fa8036952266542697de32721457311f3d12e64489a114d092142cef301f1a535cbccd5
|
7
|
+
data.tar.gz: eb239e833487faa7eb800cef5e5cab90a3eaeadec75bf3f6c6ff579da2a314e9ea29ae76d063b4772e2d6792ba973ac1929b4bfcdd8354eed3b87be7790ca543
|
@@ -41,9 +41,9 @@ module SpeakeasyClientSDK
|
|
41
41
|
@globals = globals.nil? ? {} : globals
|
42
42
|
@language = 'ruby'
|
43
43
|
@openapi_doc_version = '0.4.0'
|
44
|
-
@sdk_version = '4.0
|
45
|
-
@gen_version = '2.
|
46
|
-
@user_agent = 'speakeasy-sdk/ruby 4.0
|
44
|
+
@sdk_version = '4.1.0'
|
45
|
+
@gen_version = '2.291.0'
|
46
|
+
@user_agent = 'speakeasy-sdk/ruby 4.1.0 2.291.0 0.4.0 speakeasy_client_sdk_ruby'
|
47
47
|
end
|
48
48
|
|
49
49
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
@@ -29,8 +29,8 @@ module SpeakeasyClientSDK
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
|
-
sig { params(headers_params: FieldAugmented).returns(T::Hash[Symbol, String]) }
|
33
|
-
def self.get_headers(headers_params)
|
32
|
+
sig { params(headers_params: FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, String]) }
|
33
|
+
def self.get_headers(headers_params, gbls = nil)
|
34
34
|
return {} if headers_params.nil?
|
35
35
|
|
36
36
|
headers = {}
|
@@ -39,7 +39,8 @@ module SpeakeasyClientSDK
|
|
39
39
|
metadata = f.metadata[:header]
|
40
40
|
next if metadata.nil?
|
41
41
|
|
42
|
-
value =
|
42
|
+
value = _populate_from_globals(f.name, headers_params&.send(f.name), 'header', gbls)
|
43
|
+
value = _serialize_header(metadata.fetch(:explode, false), value)
|
43
44
|
headers[metadata.fetch(:field_name, f.name)] = value if !value.empty?
|
44
45
|
end
|
45
46
|
headers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speakeasy_client_sdk_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|