ding_sdk 0.8.20 → 0.8.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ding_sdk/lookup.rb +1 -2
- data/lib/ding_sdk/otp.rb +5 -10
- data/lib/ding_sdk/sdkconfiguration.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e34ab00db345ff16bd77e58a4ab40ec1a15a71f983f7196e1379c6d5c1e0a109
|
4
|
+
data.tar.gz: cdcf55e26b3f7035039d457100a34975a3de02cbcb76a7d77e113cf0f8cc1087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ecc71c17195665c2fe11a26ea351b6888fab9c4e38fca9ca877ac692cc090f8a6a0bd4db39e5eabf075197915401517c5ae27cb44c971a9340be9e3808b6aa5
|
7
|
+
data.tar.gz: 3612b23be6d60b13f6a9c21d08bed86e3f88524174482d7b8b2413aa2dc9aff8f864d78f01f1a93b62ba29dd62c7d92a80ac145a79e0f312ce472d536372f085
|
data/lib/ding_sdk/lookup.rb
CHANGED
@@ -54,8 +54,7 @@ module DingSDK
|
|
54
54
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::LookupResponse)
|
55
55
|
res.lookup_response = out
|
56
56
|
end
|
57
|
-
|
58
|
-
|
57
|
+
elsif r.status == 400
|
59
58
|
if Utils.match_content_type(content_type, 'application/json')
|
60
59
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::ErrorResponse)
|
61
60
|
res.error_response = out
|
data/lib/ding_sdk/otp.rb
CHANGED
@@ -53,8 +53,7 @@ module DingSDK
|
|
53
53
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::CreateCheckResponse)
|
54
54
|
res.create_check_response = out
|
55
55
|
end
|
56
|
-
|
57
|
-
|
56
|
+
elsif r.status == 400
|
58
57
|
if Utils.match_content_type(content_type, 'application/json')
|
59
58
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::ErrorResponse)
|
60
59
|
res.error_response = out
|
@@ -98,8 +97,7 @@ module DingSDK
|
|
98
97
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::CreateAuthenticationResponse)
|
99
98
|
res.create_authentication_response = out
|
100
99
|
end
|
101
|
-
|
102
|
-
|
100
|
+
elsif r.status == 400
|
103
101
|
if Utils.match_content_type(content_type, 'application/json')
|
104
102
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::ErrorResponse)
|
105
103
|
res.error_response = out
|
@@ -143,8 +141,7 @@ module DingSDK
|
|
143
141
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::FeedbackResponse)
|
144
142
|
res.feedback_response = out
|
145
143
|
end
|
146
|
-
|
147
|
-
|
144
|
+
elsif r.status == 400
|
148
145
|
if Utils.match_content_type(content_type, 'application/json')
|
149
146
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::ErrorResponse)
|
150
147
|
res.error_response = out
|
@@ -188,8 +185,7 @@ module DingSDK
|
|
188
185
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::AuthenticationStatusResponse)
|
189
186
|
res.authentication_status_response = out
|
190
187
|
end
|
191
|
-
|
192
|
-
|
188
|
+
elsif r.status == 400
|
193
189
|
if Utils.match_content_type(content_type, 'application/json')
|
194
190
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::ErrorResponse)
|
195
191
|
res.error_response = out
|
@@ -233,8 +229,7 @@ module DingSDK
|
|
233
229
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::RetryAuthenticationResponse)
|
234
230
|
res.retry_authentication_response = out
|
235
231
|
end
|
236
|
-
|
237
|
-
|
232
|
+
elsif r.status == 400
|
238
233
|
if Utils.match_content_type(content_type, 'application/json')
|
239
234
|
out = Utils.unmarshal_complex(r.env.response_body, ::DingSDK::Shared::ErrorResponse)
|
240
235
|
res.error_response = out
|
@@ -38,9 +38,9 @@ module DingSDK
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '1.0.0'
|
41
|
-
@sdk_version = '0.8.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.8.
|
41
|
+
@sdk_version = '0.8.22'
|
42
|
+
@gen_version = '2.445.1'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.8.22 2.445.1 1.0.0 ding_sdk'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ding_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ding
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|