View Source Tentacat.Gitignore (Tentacat v2.4.0)

Summary

Functions

Get a single template based on the name.

List all templates available.

Functions

Link to this function

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

View Source
@spec 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

Link to this function

templates(client \\ %Client{})

View Source
@spec templates(Tentacat.Client.t()) :: Tentacat.response()

List all templates available.

Example

Tentacat.Gitignore.templates
Tentacat.Gitignore.templates client

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