tencentcloud-sdk-tdid 3.0.497 → 3.0.498
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210519/client.rb +0 -26
- data/lib/v20210519/models.rb +0 -27
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccb2776105fa9133f388ebfd463b07b55958dc0f
|
4
|
+
data.tar.gz: 75d79987f2f069e92e87bf9416238fa2d2910926
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51c070a331b68a7435bca8fb48aa1074858e12fcc2296fa7112f422bf74ba92b7413657685e2cd8bbd7cc155ee4fcb135c7c5d5b0204220c4127f0676f8aa0a1
|
7
|
+
data.tar.gz: c657b520dc79ef4816afe9492b853bcc10ac8184210a56dab7a66a40c9d5bf70d8a9a66d8d272ad2180f830207ce93b991ea10c9f0abb23628b34cc8832d6839
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.498
|
data/lib/v20210519/client.rb
CHANGED
@@ -1183,32 +1183,6 @@ module TencentCloud
|
|
1183
1183
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1184
1184
|
end
|
1185
1185
|
|
1186
|
-
# 该接口已废弃
|
1187
|
-
|
1188
|
-
# 验证购买
|
1189
|
-
|
1190
|
-
# @param request: Request instance for VerifyPurchase.
|
1191
|
-
# @type request: :class:`Tencentcloud::tdid::V20210519::VerifyPurchaseRequest`
|
1192
|
-
# @rtype: :class:`Tencentcloud::tdid::V20210519::VerifyPurchaseResponse`
|
1193
|
-
def VerifyPurchase(request)
|
1194
|
-
body = send_request('VerifyPurchase', request.serialize)
|
1195
|
-
response = JSON.parse(body)
|
1196
|
-
if response['Response'].key?('Error') == false
|
1197
|
-
model = VerifyPurchaseResponse.new
|
1198
|
-
model.deserialize(response['Response'])
|
1199
|
-
model
|
1200
|
-
else
|
1201
|
-
code = response['Response']['Error']['Code']
|
1202
|
-
message = response['Response']['Error']['Message']
|
1203
|
-
reqid = response['Response']['RequestId']
|
1204
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1205
|
-
end
|
1206
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1207
|
-
raise e
|
1208
|
-
rescue StandardError => e
|
1209
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1210
|
-
end
|
1211
|
-
|
1212
1186
|
|
1213
1187
|
end
|
1214
1188
|
end
|
data/lib/v20210519/models.rb
CHANGED
@@ -3224,33 +3224,6 @@ module TencentCloud
|
|
3224
3224
|
end
|
3225
3225
|
end
|
3226
3226
|
|
3227
|
-
# VerifyPurchase请求参数结构体
|
3228
|
-
class VerifyPurchaseRequest < TencentCloud::Common::AbstractModel
|
3229
|
-
|
3230
|
-
|
3231
|
-
def initialize()
|
3232
|
-
end
|
3233
|
-
|
3234
|
-
def deserialize(params)
|
3235
|
-
end
|
3236
|
-
end
|
3237
|
-
|
3238
|
-
# VerifyPurchase返回参数结构体
|
3239
|
-
class VerifyPurchaseResponse < TencentCloud::Common::AbstractModel
|
3240
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3241
|
-
# @type RequestId: String
|
3242
|
-
|
3243
|
-
attr_accessor :RequestId
|
3244
|
-
|
3245
|
-
def initialize(requestid=nil)
|
3246
|
-
@RequestId = requestid
|
3247
|
-
end
|
3248
|
-
|
3249
|
-
def deserialize(params)
|
3250
|
-
@RequestId = params['RequestId']
|
3251
|
-
end
|
3252
|
-
end
|
3253
|
-
|
3254
3227
|
end
|
3255
3228
|
end
|
3256
3229
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tdid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.498
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|