def create(*args)
      arguments(args, required: [:user, :repo, :number])

      params             = arguments.params
      params["accept"] ||= PREVIEW_MEDIA

      post_request("/repos/#{arguments.user}/#{arguments.repo}/pulls/#{arguments.number}/reviews", params)
    end
def create(*args)
      arguments(args, required: [:user, :repo, :number])

      params             = arguments.params
      params["accept"] ||= PREVIEW_MEDIA

      post_request("/repos/#{arguments.user}/#{arguments.repo}/pulls/#{arguments.number}/reviews", params)
    end
Create a pull request review

 @param [Hash] params
 @option params [String] :event
   Required string - The review action (event) to perform; can be one of
   APPROVE, REQUEST_CHANGES, or COMMENT. If left blank, the API returns
   HTTP 422 (Unrecognizable entity) and the review is left PENDING
 @option params [String] :body
   Optional string. The text of the review.
 @option params [Array] :comments
   Optional array of draft review comment objects. An array of comments
   part of the review.

 @example
  github = Github.new
  github.pull_requests.reviews.create 'user-name', 'repo-name', 'number',
    body: "Nice change",
    event: "APPROVE",
    comments: [
      {
        path: 'path/to/file/commented/on',
        position: 10,
        body:     'This looks good.'
      }
    ]

 @api public