View Source Tentacat.Issues.Reactions (Tentacat v2.4.0)
Summary
Functions
Create a reaction on an issue.
Delete a reaction on an issue.
List the reactions on a issue.
Functions
@spec create( Tentacat.Client.t(), binary(), binary(), binary() | integer(), Keyword.t() | map() ) :: Tentacat.response()
Create a reaction on an issue.
Reaction Request body example:
%{
content: "heart"
}
Example
Tentacat.Issues.Reactions.create "elixir-lang", "elixir", "3"
More info at: https://developer.github.com/v3/reactions/#create-reaction-for-an-issue
@spec delete(Tentacat.Client.t(), binary(), binary(), binary() | integer(), binary()) :: Tentacat.response()
Delete a reaction on an issue.
Example
Tentacat.Issues.Reactions.delete "elixir-lang", "elixir", "3", "4"
More info at: https://developer.github.com/v3/reactions/#delete-an-issue-reaction
@spec list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) :: Tentacat.response()
List the reactions on a issue.
Example
Tentacat.Issues.Reactions.list "elixir-lang" , "elixir", "3"
More info at: https://developer.github.com/v3/reactions/#list-reactions-for-an-issue