Tentacat v1.2.0 Tentacat.Gitignore

Summary

Functions

Get a single template based on the name

List all templates available

Functions

template(client \\ %Client{}, name)

Specs

template(Tentacat.Client.t, binary) :: Tentacat.response

Get a single template based on the name

Example

Tentacat.Gitignore.template "C"
Tentacat.Gitignore.template client, "C"

More info at: http:\developer.github.com/v3/gitignore/#get-a-single-template

templates(client \\ %Client{})

Specs

List all templates available

Example

Tentacat.Gitignore.templates
Tentacat.Gitignore.templates client

More info at: http:\developer.github.com/v3/gitignore/#listing-available-templates