lib/twilio-ruby/rest/insights/v1/room.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/insights/v1/room.rb in twilio-ruby-6.11.0

- old
+ new

@@ -16,10 +16,11 @@ module Twilio module REST class Insights < InsightsBase class V1 < Version class RoomList < ListResource + ## # Initialize the RoomList # @param [Version] version Version that contains the resource # @return [RoomList] RoomList def initialize(version) @@ -176,9 +177,10 @@ ## # Fetch the RoomInstance # @return [RoomInstance] Fetched RoomInstance def fetch + payload = @version.fetch('GET', @uri) RoomInstance.new( @version, payload, room_sid: @solution[:room_sid],