Class: GithubCLI::Status
- Inherits:
-
API
- Object
- API
- GithubCLI::Status
show all
- Defined in:
- lib/github_cli/apis/status.rb
Constant Summary
Constants inherited
from API
API::ENDPOINT
Class Method Summary
collapse
Methods inherited from API
configure_api, github_api, output
Class Method Details
.create(user, repo, sha, params, format) ⇒ Object
14
15
16
17
18
|
# File 'lib/github_cli/apis/status.rb', line 14
def create(user, repo, sha, params, format)
output format do
github_api.repos.statuses.create user, repo, sha, params
end
end
|
.list(user, repo, sha, params, format) ⇒ Object
8
9
10
11
12
|
# File 'lib/github_cli/apis/status.rb', line 8
def list(user, repo, sha, params, format)
output format do
github_api.repos.statuses.list user, repo, sha, params
end
end
|