View Source Tentacat.Pulls.ReviewRequests (Tentacat v2.4.0)
Summary
Functions
@spec create(Tentacat.Client.t(), binary(), binary(), binary() | integer(), [binary()]) :: Tentacat.response()
Create a review request.
Review Request body example:
%{
"reviewers" => ["octocat"]
}
Example
Tentacat.Pulls.ReviewRequests.create client, "elixir-lang", "elixir", body
More info at: https://developer.github.com/v3/pulls/review_requests/#create-a-review-request
@spec list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) :: Tentacat.response()
List review requests in a pull request.
Example
Tentacat.Pulls.ReviewRequests.list "elixir-lang", "elixir", 1
Tentacat.Pulls.ReviewRequests.list client, "elixir-lang", "elixir", 1
More info at: https://developer.github.com/v3/pulls/review_requests/#list-review-requests
@spec remove(Tentacat.Client.t(), binary(), binary(), binary() | integer(), [binary()]) :: Tentacat.response()
Delete a review request.
Example
Tentacat.Pulls.ReviewRequests.remove client, "elixir-lang", "elixir", 1, ["octocat"]
More info at: https://developer.github.com/v3/pulls/review_requests/#delete-a-review-request