Class: GithubCLI::Search

Inherits:
API
  • Object
show all
Defined in:
lib/github_cli/apis/search.rb

Class Method Summary collapse

Methods inherited from API

configure, github_api, output, set_basic_auth

Class Method Details

.email(params, options) ⇒ Object


26
27
28
29
30
# File 'lib/github_cli/apis/search.rb', line 26

def email(params, options)
  output options do
    github_api(options).search.email params
  end
end

.issue(params, options) ⇒ Object


8
9
10
11
12
# File 'lib/github_cli/apis/search.rb', line 8

def issue(params, options)
  output options do
    github_api(options).search.issues params
  end
end

.repo(params, options) ⇒ Object


14
15
16
17
18
# File 'lib/github_cli/apis/search.rb', line 14

def repo(params, options)
  output options do
    github_api(options).search.repos params
  end
end

.user(params, options) ⇒ Object


20
21
22
23
24
# File 'lib/github_cli/apis/search.rb', line 20

def user(params, options)
  output options do
    github_api(options).search.users params
  end
end