lib/twilio-ruby/rest/conferences/participants.rb in twilio-ruby-3.3.1 vs lib/twilio-ruby/rest/conferences/participants.rb in twilio-ruby-3.4.0
- old
+ new
@@ -1,10 +1,11 @@
module Twilio
module REST
class Participants < ListResource
- private
- def instance_sid_key
- 'call_sid'
+ def initialize(uri, client)
+ super
+ # hard-code the json key since participants don't have sids
+ @instance_id_key = 'call_sid'
end
end
class Participant < InstanceResource
def mute