lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.0.0.rc24 vs lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.0.0.rc25

- old
+ new

@@ -278,11 +278,14 @@ ) end ## # Access the recordings - # @return [RoomRecordingList] RoomRecordingList + # @return [RoomRecordingList] if a(n) RoomRecordingList object was created. + # @return [RoomRecordingContext] if a(n) RoomRecordingContext object was created. def recordings(sid=:unset) + raise ArgumentError, 'sid cannot be nil' if sid.nil? + if sid != :unset return RoomRecordingContext.new( @version, @solution[:sid], sid, \ No newline at end of file