View Source Tentacat.Issues.Labels (Tentacat v2.5.0)
Summary
Functions
@spec add(Tentacat.Client.t(), binary(), binary(), binary() | integer(), [binary()]) :: 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
@spec list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) :: 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
@spec remove(Tentacat.Client.t(), binary(), binary(), binary() | integer(), binary()) :: 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