Tentacat v0.7.2 Tentacat.Repositories.Branches

Summary

Functions

find(owner, repo, branch, client \\ %Tentacat.Client{})

Specs

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

Get Branch

Example

Tentacat.Repositories.Branches.find "elixir-lang", "elixir", "feature"
Tentacat.Repositories.Branches.find "elixir-lang", "elixir", "feature", client

More info at: https://developer.github.com/v3/repos/#get-branch

list(owner, repo, client \\ %Tentacat.Client{})

Specs

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

List Branches

Example

Tentacat.Repositories.Branches.list "elixir-lang", "elixir"
Tentacat.Repositories.Branches.list "elixir-lang", "elixir", client

More info at: https://developer.github.com/v3/repos/#list-branches