Skip to content

Commit

Permalink
change paramter to hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Petersen committed Feb 27, 2024
1 parent 9a19eeb commit ff404af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/twilio-ruby/rest/video/v1/room.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def initialize(version)
# @param [String] room_name Room UniqueName
# @param [String] participant_identity Participant Identity
# @return [String] JWT Access Token
def access_token(room_name, participant_identity)
response = @version.request('GET', '/access_token', {room_name: room_name, participant_identity: participant_identity})
def access_token(param_hash={})
response = @version.request('GET', '/access_token', param_hash)
return response.body['token']
end

Expand Down

0 comments on commit ff404af

Please sign in to comment.