app/models/pull_request.rb
# List authors of commits in this pull request
#
# Returns the Array listing of all commit authors
List authors of commits in this pull request
Returns the Array listing of all commit authors
List authors of commits in this pull request Returns the Array listing of all commit authors
def commit_authors
    return [] unless repository
    commits = github_client.pull_request_commits(repository, number)
    commits.map do |commit|
      if author = commit[:author]
        author[:login]
      end
    end.compact
  end
def commit_authors return [ ] unless repository commits = github_client . pull_request_commits ( repository , number ) commits . map do | commit | if author = commit [ :author ] author [ :login ] end end . compact end
List authors of commits in this pull request
Returns the Array listing of all commit authors
List authors of commits in this pull request Returns the Array listing of all commit authors