Sha256: fbb6739b41001ff82abc12ffa465773312f230c39eb1cf65b5a84364a6db4902
Contents?: true
Size: 1.5 KB
Versions: 3
Compression:
Stored size: 1.5 KB
Contents
# encoding: utf-8 module GithubCLI class PullRequest < API class << self def list(user, repo, params, options) output options do github_api(options).pull_requests.list user, repo, params end end def get(user, repo, number, params, options) output options do github_api(options).pull_requests.get user, repo, number, params end end def create(user, repo, params, options) output options do github_api(options).pull_requests.create user, repo, params end end def update(user, repo, number, params, options) output options do github_api(options).pull_requests.update user, repo, number, params end end def commits(user, repo, number, params, options) output options do github_api(options).pull_requests.commits user, repo, number, params end end def files(user, repo, number, params, options) output options do github_api(options).pull_requests.files user, repo, number, params end end def merged(user, repo, number, params, options) output options do github_api(options).pull_requests.merged? user, repo, number, params end end def merge(user, repo, number, params, options) output options do github_api(options).pull_requests.merge user, repo, number, params end end end end # PullRequest end # GithubCLI
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | lib/github_cli/apis/pull_request.rb |
github_cli-0.6.1 | lib/github_cli/apis/pull_request.rb |
github_cli-0.6.0 | lib/github_cli/apis/pull_request.rb |