class SnapTrade::APIStatusApi
def check(extra: {})
-
extra
(Hash
) -- additional parameters to pass along through :header_params, :query_params, or parameter name
def check(extra: {}) data, _status_code, _headers = check_with_http_info_impl(extra) data end
def check_impl(opts = {})
-
(Status)
-
Parameters:
-
opts
(Hash
) -- the optional parameters
def check_impl(opts = {}) _status_code, _headers = check_with_http_info(opts)
def check_with_http_info(extra: {})
-
extra
(Hash
) -- additional parameters to pass along through :header_params, :query_params, or parameter name
def check_with_http_info(extra: {}) check_with_http_info_impl(extra) end
def check_with_http_info_impl(opts = {})
-
(Array<(Status, Integer, Hash)>)
- Status data, response status code and response headers
Parameters:
-
opts
(Hash
) -- the optional parameters
def check_with_http_info_impl(opts = {}) i_client.config.debugging _client.config.logger.debug 'Calling API: APIStatusApi.check ...' urce path var_path = '/' y parameters params = opts[:query_params] || {} er parameters _params = opts[:header_params] || {} header 'Accept' (if needed) _params['Accept'] = @api_client.select_header_accept(['application/json']) parameters arams = opts[:form_params] || {} body (model) ody = opts[:debug_body] rn_type _type = opts[:debug_return_type] || 'Status' _names ames = opts[:debug_auth_names] || [] tions = opts.merge( ration => :"APIStatusApi.check", der_params => header_params, ry_params => query_params, m_params => form_params, y => post_body, h_names => auth_names, urn_type => return_type status_code, headers, response = @api_client.call_api(:GET, local_var_path, new_options) i_client.config.debugging _client.config.logger.debug "API called: APIStatusApi#check\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" data, status_code, headers, response
def initialize(api_client = ApiClient.default)
def initialize(api_client = ApiClient.default) @api_client = api_client end