Module: JPSClient::API::Statistics
- Included in:
- Client
- Defined in:
- lib/jpsclient/api/statistics.rb
Overview
Statistics 相关 API 自动生成的模块,处理 statistics 相关接口
Instance Method Summary collapse
-
#create_rankings(params: {}) ⇒ Hash
Create Rankings.
Instance Method Details
#create_rankings(params: {}) ⇒ Hash
Create Rankings
11 12 13 14 15 16 17 18 |
# File 'lib/jpsclient/api/statistics.rb', line 11 def create_rankings(params: {}) config = @request_config && @request_config["statistics_rankings"] raise JPSClient::ExceptionError, "Missing config for statistics_rankings" unless config && config["url"] path = config["url"] return request_with_auth(:post, path, body: params) end |