Method: Github::Client::Orgs::Teams#edit
- Defined in:
- lib/github_api2/client/orgs/teams.rb
#edit(*args) ⇒ Object
Edit a team
In order to edit a team, the authenticated user must be an owner of the org that the team is associated with.
140 141 142 143 144 145 146 |
# File 'lib/github_api2/client/orgs/teams.rb', line 140 def edit(*args) arguments(args, required: [:id]) do assert_required %w(name) end patch_request("/teams/#{arguments.id}", arguments.params) end |