Class: GithubCLI::Organization

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

Class Method Summary collapse

Methods inherited from API

configure, github_api, output, set_basic_auth

Class Method Details

.edit(org, params, options) ⇒ Object


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

def edit(org, params, options)
  output options do
    github_api(options).orgs.edit org, params
  end
end

.get(org, params, options) ⇒ Object


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

def get(org, params, options)
  output options do
    github_api(options).orgs.get org, params
  end
end

.list(params, options) ⇒ Object


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

def list(params, options)
  output options do
    github_api(options).orgs.list params
  end
end