Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIDEO-4926 Adding update_participant method #2

Open
wants to merge 1 commit into
base: gtl_main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/twilio-ruby/rest/video/v1/room/participant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ def list(status: :unset, identity: :unset, date_created_after: :unset, date_crea
).entries
end

##
# Update participant attributes
# @param [Hash] list of attributes
def update_participant(attributes = {})
response = @version.request('GET', 'Participants/update_participant', attributes)
response.body['message']
end

##
# Streams Instance records from the API as an Enumerable.
# This operation lazily loads records as efficiently as possible until the limit
Expand Down
Loading