ding_sdk 0.8.21 → 0.8.22

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: cb4397e2de9bb8595f05f744eadbe0f13ffa950e348503bd154c593967493138
4
- data.tar.gz: dbba9a31874ff40dd426913eb2332b66f463fd077267f365c17d3c169de5f2c4
3
+ metadata.gz: e34ab00db345ff16bd77e58a4ab40ec1a15a71f983f7196e1379c6d5c1e0a109
4
+ data.tar.gz: cdcf55e26b3f7035039d457100a34975a3de02cbcb76a7d77e113cf0f8cc1087
5
5
  SHA512:
6
- metadata.gz: 42f82f48de33ae45b53520d339b6fbdb2f703a7f57f974b8980435f40767856bd7b72b07be232b3e11624bf77f26486331ae91487f017dc2e171f004affad174
7
- data.tar.gz: 90d7375703a8d5ea5481b86763f2f47a36805ca14476fb9c7639a4f0bd61962e446df76f95e3bf0fa867f425f44d65059f3b762f37d1a6fcab3785043f557e95
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.21'
42
- @gen_version = '2.442.11'
43
- @user_agent = 'speakeasy-sdk/ruby 0.8.21 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.21
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-30 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