Packages

A simple Todoist Elixir wrapper

Current section

Files

Jump to
todoist lib todoist client.ex
Raw

lib/todoist/client.ex

defmodule Todoist.Client do
@endpoint "https://todoist.com/API/v7/sync"
defstruct auth: nil
@type auth :: %{access_token: binary}
@type t :: %__MODULE__{auth: auth}
@spec new(auth) :: t
def new(auth), do: auth
end