Tentacat v1.6.0 Tentacat.Issues.Reactions View Source
Link to this section Summary
Link to this section Functions
Link to this function
create(client \\ %Client{}, owner, repo, issue_id, body)
View Source
create(client \\ %Client{}, owner, repo, issue_id, body)
View Source
create(
Tentacat.Client.t(),
binary(),
binary(),
binary() | integer(),
Keyword.t() | map()
) :: Tentacat.response()
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
Link to this function
list(client \\ %Client{}, owner, repo, issue_id)
View Source
list(client \\ %Client{}, owner, repo, issue_id)
View Source
list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) ::
Tentacat.response()
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