Tentacat v0.7.2 Tentacat.Issues.Labels

Summary

Functions

add(owner, repo, issue_id, labels, client \\ %Tentacat.Client{})

Specs

add(binary, binary, binary | integer, [binary], Tentacat.Client.t) :: Tentacat.response

Add labels to an issue

Example

Tentacat.Issues.Labels.list "elixir-lang", "elixir", 3970

More info at: https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue

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

Specs

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

List labels on an issue

Example

Tentacat.Issues.Labels.list "elixir-lang", "elixir", 3970

More info at: https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue

remove(owner, repo, issue_id, label, client \\ %Tentacat.Client{})

Specs

remove(binary, binary, binary | integer, binary, Tentacat.Client.t) :: Tentacat.response

Remove a label from an issue

Example

Tentacat.Issues.Labels.remove "elixir-lang", "elixir", 3970, "Important"

More info at: https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue