Class: GithubCLI::Tag
- Inherits:
-
API
- Object
- API
- GithubCLI::Tag
show all
- Defined in:
- lib/github_cli/apis/tag.rb
Class Method Summary
collapse
Methods inherited from API
configure, github_api, output, set_basic_auth
Class Method Details
.create(user, repo, params, options) ⇒ Object
14
15
16
17
18
|
# File 'lib/github_cli/apis/tag.rb', line 14
def create(user, repo, params, options)
output options do
github_api(options).git_data.tags.create user, repo, params
end
end
|
.get(user, repo, sha, params, options) ⇒ Object
8
9
10
11
12
|
# File 'lib/github_cli/apis/tag.rb', line 8
def get(user, repo, sha, params, options)
output options do
github_api(options).git_data.tags.get user, repo, sha, params
end
end
|