ding_sdk 0.8.20 → 0.8.22

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: 7d9050612f9bf578cc58f76bd3074615043c27bdf5c5572ebdf9e124bd8e89fa
4
- data.tar.gz: 02206c3402ef1e24f24e8702a9b31a3e6b404a98efb1477d5ddbbee6cd6f0c6b
3
+ metadata.gz: e34ab00db345ff16bd77e58a4ab40ec1a15a71f983f7196e1379c6d5c1e0a109
4
+ data.tar.gz: cdcf55e26b3f7035039d457100a34975a3de02cbcb76a7d77e113cf0f8cc1087
5
5
  SHA512:
6
- metadata.gz: 5ea76a4bd3d326b0b4b0b3dee2b6084c53e49c685ac09b927dde97e6be70fe09bd26fadd96993a866244cb2fbae5b349eb933e21ca9c143e15836dc32b6e977b
7
- data.tar.gz: 4f991cd043d5247324067347627367087e15c62edf4340a2f28f4c4688f8ec591126d64ea5ee9524d35caea11286f58986bd571d5c097f057d2ac24de668ea9d
6
+ metadata.gz: 9ecc71c17195665c2fe11a26ea351b6888fab9c4e38fca9ca877ac692cc090f8a6a0bd4db39e5eabf075197915401517c5ae27cb44c971a9340be9e3808b6aa5
7
+ data.tar.gz: 3612b23be6d60b13f6a9c21d08bed86e3f88524174482d7b8b2413aa2dc9aff8f864d78f01f1a93b62ba29dd62c7d92a80ac145a79e0f312ce472d536372f085
@@ -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
- else
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
- else
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
- else
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
- else
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
- else
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
- else
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.20'
42
- @gen_version = '2.442.11'
43
- @user_agent = 'speakeasy-sdk/ruby 0.8.20 2.442.11 1.0.0 ding_sdk'
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.20
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-29 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday