speakeasy_client_sdk_ruby 4.0.16 → 4.1.1
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: e98bd350d43ad536f3385c9d01edece6afd608261e67604ebbc5734cf2c782d1
|
4
|
+
data.tar.gz: 3e0576bd02642af38e4e753910add629c2f2a71c5a206836f8770ae73da58e8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1406c49484be2f0d0350bb894bba4aaa6d8b78736a34eaec2485bbd7338c14dce8ce8cf74514d5ca6f27dc2cc00bba7ba5c0a98c5d0e82cb2717e39c0f50d265
|
7
|
+
data.tar.gz: 67adaa567b00b47323fb920b36b500014325f41339309d2ee4819531b28ba001d03a68bd4089415527346fe3dadcb0e1bcbbf7633db7b5d96ded641cc33c3d15
|
@@ -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.
|
45
|
-
@gen_version = '2.
|
46
|
-
@user_agent = 'speakeasy-sdk/ruby 4.
|
44
|
+
@sdk_version = '4.1.1'
|
45
|
+
@gen_version = '2.301.0'
|
46
|
+
@user_agent = 'speakeasy-sdk/ruby 4.1.1 2.301.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.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|