class Github::PullRequests
def commits(*args)
github.pull_requests.commits 'user-name', 'repo-name', 'number'
github = Github.new
= Examples
List commits on a pull request
def commits(*args) arguments(args, :required => [:user, :repo, :number]) response = get_request("/repos/#{user}/#{repo}/pulls/#{number}/commits", arguments.params) return response unless block_given? response.each { |el| yield el } end