class Github::Orgs::Teams
def edit(*args)
"permission" => "push"
"name" => "new team name",
github.orgs.teams.edit 'team-id',
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(*args) arguments(args, :required => [:team_id]) do sift VALID_TEAM_PARAM_NAMES assert_values VALID_TEAM_PARAM_VALUES assert_required %w[name] end patch_request("/teams/#{team_id}", arguments.params) end