class Github::Orgs::Teams
def create(*args)
]
"github/dotfiles"
"repo_names" => [
"permission" => "push",
"name" => "new team",
github.orgs.teams.create 'org-name',
github = Github.new :oauth_token => '...'
= Examples
* admin - team members can pull, push and administor these repositories.
* push - team members can pull and push, but not administor this repositores.
* pull - team members can pull, but not push or administor this repositories. Default
:permission - Optional string
:repo_names - Optional array of strings
:name - Required string
= Inputs
In order to create a team, the authenticated user must be an owner of:org.
Create a team
def create(*args) arguments(args, :required => [:org_name]) do sift VALID_TEAM_PARAM_NAMES assert_values VALID_TEAM_PARAM_VALUES assert_required %w[name] end post_request("/orgs/#{org_name}/teams", arguments.params) end