Module: JPSClient::API::GameAssets
- Included in:
- Client
- Defined in:
- lib/jpsclient/api/game_assets.rb
Overview
GameAssets 相关 API 自动生成的模块,处理 game_assets 相关接口
Instance Method Summary collapse
-
#create_delete(params: {}) ⇒ Hash
Create Delete.
-
#create_detail(params: {}) ⇒ Hash
Create Detail.
-
#create_game_asset(params: {}) ⇒ Hash
Create Game Asset.
-
#create_game_assets(params: {}) ⇒ Hash
Create Game Assets.
-
#create_update(params: {}) ⇒ Hash
Create Update.
Instance Method Details
#create_delete(params: {}) ⇒ Hash
Create Delete
63 64 65 66 67 68 69 70 |
# File 'lib/jpsclient/api/game_assets.rb', line 63 def create_delete(params: {}) config = @request_config && @request_config["game_assets_delete"] raise JPSClient::ExceptionError, "Missing config for game_assets_delete" unless config && config["url"] path = config["url"] return request_with_auth(:post, path, body: params) end |
#create_detail(params: {}) ⇒ Hash
Create Detail
50 51 52 53 54 55 56 57 |
# File 'lib/jpsclient/api/game_assets.rb', line 50 def create_detail(params: {}) config = @request_config && @request_config["game_assets_detail"] raise JPSClient::ExceptionError, "Missing config for game_assets_detail" unless config && config["url"] path = config["url"] return request_with_auth(:post, path, body: params) end |
#create_game_asset(params: {}) ⇒ Hash
Create Game Asset
24 25 26 27 28 29 30 31 |
# File 'lib/jpsclient/api/game_assets.rb', line 24 def create_game_asset(params: {}) config = @request_config && @request_config["game_assets_game_asset"] raise JPSClient::ExceptionError, "Missing config for game_assets_game_asset" unless config && config["url"] path = config["url"] return request_with_auth(:post, path, body: params) end |
#create_game_assets(params: {}) ⇒ Hash
Create Game Assets
11 12 13 14 15 16 17 18 |
# File 'lib/jpsclient/api/game_assets.rb', line 11 def create_game_assets(params: {}) config = @request_config && @request_config["game_assets_game_assets"] raise JPSClient::ExceptionError, "Missing config for game_assets_game_assets" unless config && config["url"] path = config["url"] return request_with_auth(:post, path, body: params) end |
#create_update(params: {}) ⇒ Hash
Create Update
37 38 39 40 41 42 43 44 |
# File 'lib/jpsclient/api/game_assets.rb', line 37 def create_update(params: {}) config = @request_config && @request_config["game_assets_update"] raise JPSClient::ExceptionError, "Missing config for game_assets_update" unless config && config["url"] path = config["url"] return request_with_auth(:post, path, body: params) end |