Class: GithubCLI::Search
- Inherits:
-
API
- Object
- API
- GithubCLI::Search
show all
- Defined in:
- lib/github_cli/apis/search.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
.email(params, format) ⇒ Object
26
27
28
29
30
|
# File 'lib/github_cli/apis/search.rb', line 26
def email(params, format)
output format do
github_api.search.email params
end
end
|
.issue(owner, repo, keyword, params, format) ⇒ Object
8
9
10
11
12
|
# File 'lib/github_cli/apis/search.rb', line 8
def issue(owner, repo, keyword, params, format)
output format do
github_api.search.issues params.update(:owner => owner, :repo => repo, :keyword => keyword)
end
end
|
.repo(params, format) ⇒ Object
14
15
16
17
18
|
# File 'lib/github_cli/apis/search.rb', line 14
def repo(params, format)
output format do
github_api.search.repos params
end
end
|
.user(params, format) ⇒ Object
20
21
22
23
24
|
# File 'lib/github_cli/apis/search.rb', line 20
def user(params, format)
output format do
github_api.search.users params
end
end
|