class Build::ApiClient

Defined in:

lib/build-client/src/build-client/api_client.cr
ext/build_client_accept_language.cr

Instance Method Summary

Instance Method Detail

def call_api(http_method : Symbol, path : String, operation : Symbol, return_type : String | Nil, post_body : String | Nil, auth_names = [] of String, header_params = {} of String => String, query_params = {} of String => String, cookie_params = {} of String => String, form_params = {} of Symbol => String | ::File) #

Call an API with given options.

@return [Array<(Object, Integer, Hash)>] an array of 3 elements: the data deserialized from response body (could be nil), response status code and response headers.


[View source]