Class: GithubCLI::Member
- Inherits:
-
API
- Object
- API
- GithubCLI::Member
show all
- Defined in:
- lib/github_cli/apis/member.rb
Constant Summary
Constants inherited
from API
API::ENDPOINT
Class Method Summary
collapse
-
.all(org, params, format) ⇒ Object
-
.all_public(org, params, format) ⇒ Object
-
.conceal(org, user, params, format) ⇒ Object
-
.delete(org, user, params, format) ⇒ Object
-
.member?(org, user, params, format) ⇒ Boolean
-
.public_member?(org, user, params, format) ⇒ Boolean
-
.publicize(org, user, params, format) ⇒ Object
Methods inherited from API
configure_api, github_api, output
Class Method Details
.all(org, params, format) ⇒ Object
8
9
10
11
12
|
# File 'lib/github_cli/apis/member.rb', line 8
def all(org, params, format)
output format do
github_api.orgs.members.list org, params
end
end
|
.all_public(org, params, format) ⇒ Object
14
15
16
17
18
|
# File 'lib/github_cli/apis/member.rb', line 14
def all_public(org, params, format)
output format do
github_api.orgs.members.list_public org, params
end
end
|
.conceal(org, user, params, format) ⇒ Object
44
45
46
47
48
|
# File 'lib/github_cli/apis/member.rb', line 44
def conceal(org, user, params, format)
output format do
github_api.orgs.members.conceal org, user, params
end
end
|
.delete(org, user, params, format) ⇒ Object
32
33
34
35
36
|
# File 'lib/github_cli/apis/member.rb', line 32
def delete(org, user, params, format)
output format do
github_api.orgs.members.delete org, user, params
end
end
|
.member?(org, user, params, format) ⇒ Boolean
20
21
22
23
24
|
# File 'lib/github_cli/apis/member.rb', line 20
def member?(org, user, params, format)
output format do
github_api.orgs.members.member? org, user, params
end
end
|
.public_member?(org, user, params, format) ⇒ Boolean
26
27
28
29
30
|
# File 'lib/github_cli/apis/member.rb', line 26
def public_member?(org, user, params, format)
output format do
github_api.orgs.members.public_member? org, user, params
end
end
|
.publicize(org, user, params, format) ⇒ Object
38
39
40
41
42
|
# File 'lib/github_cli/apis/member.rb', line 38
def publicize(org, user, params, format)
output format do
github_api.orgs.members.publicize org, user, params
end
end
|