tanuki v0.0.1 Tanuki.Client
Summary
Functions
Returns a Tanuki struct which is needed for each request
Types
client_struct :: %{private_token: binary, endpoint: binary}
Functions
Specs
new(binary) :: client_struct
Returns a Tanuki struct which is needed for each request.
iex> Tanuki.Client.new(“private_token”) %Tanuki.Client{endpoint: “https://gitlab.com/api/v3/”, private_token: “private_token”}
iex> Tanuki.Client.new(“private_token”, “https://mydomain.tld”) %Tanuki.Client{endpoint: “https://mydomain.tld/”, private_token: “private_token”}