Method: Github::Client::Orgs::Teams#create
- Defined in:
- lib/github_api/client/orgs/teams.rb
#create(*args) ⇒ Object
Create a team
In order to create a team, the authenticated user must be an owner of :org
97 98 99 100 101 102 103 |
# File 'lib/github_api/client/orgs/teams.rb', line 97 def create(*args) arguments(args, required: [:org_name]) do assert_required %w(name) end post_request("/orgs/#{arguments.org_name}/teams", arguments.params) end |