Method: Github::Client::PullRequests::Reviews#get
- Defined in:
- lib/github_api2/client/pull_requests/reviews.rb
#get(*args) ⇒ Object Also known as: find
Get a single review for pull requests
49 50 51 52 53 54 55 56 |
# File 'lib/github_api2/client/pull_requests/reviews.rb', line 49 def get(*args) arguments(args, required: [:user, :repo, :number, :id]) params = arguments.params params["accept"] ||= PREVIEW_MEDIA get_request("/repos/#{arguments.user}/#{arguments.repo}/pulls/#{arguments.number}/reviews/#{arguments.id}", params) end |