circler v0.1.0 Circler.Client

Client stores informations about: token and api endpoint.

Link to this section Summary

Functions

Create a Client struct with circle token and enpoint api.

Example

Link to this section Types

Link to this type t()
t() :: %Circler.Client{endpoint: String.t(), token: String.t()}

Link to this section Functions

Link to this function new()
new() :: t()

Create a Client struct with circle token and enpoint api.

Example

iex> Circler.Client.new(“username”)

More info at: https://circleci.com/docs/api/v1-reference/#summary

Link to this function new(token)
new(String.t()) :: t()
Link to this function new(token, endpoint)
new(String.t(), String.t()) :: t()