Class: Danger::ReviewRequests

Inherits:
Plugin
  • Object
show all
Defined in:
lib/review_requests/review_requests.rb

Instance Method Summary collapse

Instance Method Details

#request(reviewers) ⇒ Object

Parameters:

  • reviewers (Array<String>)

5
6
7
# File 'lib/review_requests/review_requests.rb', line 5

def request(reviewers)
  github.api.request_pull_request_review(repo, github.pr_json['number'], reviewers: Array(reviewers))
end