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