Skip to content

Commit 67c750f

Browse files
authored
Merge pull request #55 from Bandwidth/EDGE-1027
EDGE-1027 updated README to match SDK specs for add_participant_to_session method
2 parents 27edfc4 + 5c99954 commit 67c750f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ create_participant_response = web_rtc_client.create_participant(account_id, :bod
156156
participant_id = create_participant_response.data.participant.id
157157
puts participant_id
158158

159-
web_rtc_client.add_participant_to_session(account_id, session_id, participant_id)
159+
body = Subscriptions.new
160+
body.session_id = "1234-abcd"
161+
162+
web_rtc_client.add_participant_to_session(account_id, session_id, participant_id, body: body)
160163
```
161164

162165
## Supported Ruby Versions

0 commit comments

Comments
 (0)