Tentacat.Gitignore
Summary
| template(name, client \\ %Tentacat.Client{}) | Get a single template based on the |
| templates(client \\ %Tentacat.Client{}) | List all templates available |
Functions
Specs:
- template(binary, Tentacat.Client.t) :: Tentacat.response
Get a single template based on the name
Example
Tentacat.Gitignore.template "C"
Tentacat.Gitignore.template "C", client
More info at: http:\developer.github.com/v3/gitignore/#get-a-single-template
Specs:
- 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