Class: GithubCLI::Member
- Inherits:
-
API
- Object
- API
- GithubCLI::Member
show all
- Defined in:
- lib/github_cli/apis/member.rb
Class Method Summary
collapse
-
.all(org, params, options) ⇒ Object
-
.conceal(org, user, params, options) ⇒ Object
-
.delete(org, user, params, options) ⇒ Object
-
.member?(org, user, params, options) ⇒ Boolean
-
.publicize(org, user, params, options) ⇒ Object
Methods inherited from API
configure, github_api, output, set_basic_auth
Class Method Details
.all(org, params, options) ⇒ Object
8
9
10
11
12
|
# File 'lib/github_cli/apis/member.rb', line 8
def all(org, params, options)
output options do
github_api(options).orgs.members.list org, params
end
end
|
.conceal(org, user, params, options) ⇒ Object
32
33
34
35
36
|
# File 'lib/github_cli/apis/member.rb', line 32
def conceal(org, user, params, options)
output options do
github_api(options).orgs.members.conceal org, user, params
end
end
|
.delete(org, user, params, options) ⇒ Object
20
21
22
23
24
|
# File 'lib/github_cli/apis/member.rb', line 20
def delete(org, user, params, options)
output options do
github_api(options).orgs.members.delete org, user, params
end
end
|
.member?(org, user, params, options) ⇒ Boolean
14
15
16
17
18
|
# File 'lib/github_cli/apis/member.rb', line 14
def member?(org, user, params, options)
output options do
github_api(options).orgs.members.member? org, user, params
end
end
|
.publicize(org, user, params, options) ⇒ Object
26
27
28
29
30
|
# File 'lib/github_cli/apis/member.rb', line 26
def publicize(org, user, params, options)
output options do
github_api(options).orgs.members.publicize org, user, params
end
end
|