lib/rating_chgk_v2/rest/teams.rb in rating-chgk-v2-1.5.0 vs lib/rating_chgk_v2/rest/teams.rb in rating-chgk-v2-1.6.0
- old
+ new
@@ -22,10 +22,10 @@
def create_team(params)
model_load name: 'Team', ep_name: 'Teams', ep_params: [[], params], method: :do_post
end
def update_team(id, params)
- model_load name: 'Team', ep_name: 'Teams', ep_params: [id, params], method: :do_put
+ model_load name: 'Team', ep_name: 'Teams', ep_params: [id, params], method: :do_patch
end
def delete_team(id)
endpoint('Teams', id).do_delete
end