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