Sha256: 0bb80fa7b635e038951bd1fb31fb6438f4e5779f62a17ccfadfa8ccfa54d565e
Contents?: true
Size: 997 Bytes
Versions: 3
Compression:
Stored size: 997 Bytes
Contents
# encoding: utf-8 module GithubCLI class Reference < API class << self def list(user, repo, params, options) output options do github_api(options).git_data.references.list user, repo, params end end def get(user, repo, ref, params, options) output options do github_api(options).git_data.references.get user, repo, ref, params end end def create(user, repo, params, options) output options do github_api(options).git_data.references.create user, repo, params end end def update(user, repo, ref, params, options) output options do github_api(options).git_data.references.update user, repo, ref, params end end def delete(user, repo, ref, params, options) output options do github_api(options).git_data.references.delete user, repo, ref, params end end end end # Reference end # GithubCLI
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | lib/github_cli/apis/reference.rb |
github_cli-0.6.1 | lib/github_cli/apis/reference.rb |
github_cli-0.6.0 | lib/github_cli/apis/reference.rb |