Module: JPSClient::API::AppleCert
- Included in:
- Client
- Defined in:
- lib/jpsclient/api/apple_cert.rb
Overview
AppleCert 相关 API 处理苹果证书相关接口
Instance Method Summary collapse
-
#get_apple_cert_list(apple_dev_account: nil, bundle_id: nil, platform: nil, profile_type: nil, page_no:, page_size:) ⇒ Hash
Get Apple Cert List 获取苹果证书列表.
Instance Method Details
#get_apple_cert_list(apple_dev_account: nil, bundle_id: nil, platform: nil, profile_type: nil, page_no:, page_size:) ⇒ Hash
Get Apple Cert List 获取苹果证书列表
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/jpsclient/api/apple_cert.rb', line 17 def get_apple_cert_list(apple_dev_account: nil, bundle_id: nil, platform: nil, profile_type: nil, page_no:, page_size:) config = @request_config && @request_config["apple_cert_list"] raise JPSClient::ExceptionError, "Missing config for apple_cert_list" unless config && config["url"] path = config["url"] # 构建请求参数 params = { pageNo: page_no, pageSize: page_size } params[:appleDevAccount] = apple_dev_account if apple_dev_account params[:bundleId] = bundle_id if bundle_id params[:platform] = platform if platform params[:profileType] = profile_type if profile_type return request_with_auth(:get, path, params: params) end |