class Github::Orgs::Teams
def edit(team_name, params={})
"permission" => "push"
"name" => "new team name",
github.orgs.teams.edit 'team-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
:name - Required string
= Inputs
In order to edit a team, the authenticated user must be an owner of the org that the team is associated with.
Edit a team
def edit(team_name, params={}) _validate_presence_of team_name _normalize_params_keys(params) _filter_params_keys(VALID_TEAM_PARAM_NAMES, params) _validate_params_values(VALID_TEAM_PARAM_VALUES, params) _validate_inputs(%w[ name ], params) patch_request("/teams/#{team_name}", params) end