struct

Crig::Client::ClientBuilder(Ext, ApiKeyType, H)

Inherits Struct < Value < Object

Constructors

new(ext : Ext, api_key : ApiKeyType, base_url : String = "", headers : Hash(String, String) = {} of String => String, http_client : H | Nil = nil)
Source

Instance methods

api_key(api_key : NewApiKey) : ClientBuilder(Ext, NewApiKey, H) forall NewApiKey
Source
api_key
Source
base_url(base_url : String) : self
Source
base_url
Source
build
Source
headers
Source
http_client(http_client : NewHttpClient) : ClientBuilder(Ext, ApiKeyType, NewHttpClient) forall NewHttpClient
Source
http_client
Source
http_headers(headers : Hash(String, String)) : self
Source