lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.11.0 vs lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.11.1
- old
+ new
@@ -26,12 +26,12 @@
##
# Retrieve a single page of RoomInstance records from the API.
# Request is executed immediately.
# @param [Boolean] enable_turn Use Twilio Network Traversal for TURN service.
# Defaults to true. Only applicable to Rooms with type `peer-to-peer`.
- # @param [room.RoomType] type Type of room, either `peer-to-peer` or `group`. Will
- # be `group` by default.
+ # @param [room.RoomType] type Type of room, either `peer-to-peer`, `group-small`
+ # or `group`. Will be `group` by default.
# @param [String] unique_name Name of the Room. This is unique for `in-progress`
# rooms. If not provided, Room name will be set to the Room Sid.
# @param [String] status_callback A URL that Twilio sends asynchronous webhook
# requests to on every room event. If not provided, status callback events will
# not be dispatched.
@@ -225,11 +225,11 @@
class RoomContext < InstanceContext
##
# Initialize the RoomContext
# @param [Version] version Version that contains the resource
- # @param [String] sid The sid
+ # @param [String] sid The Room Sid or name that uniquely identifies this resource.
# @return [RoomContext] RoomContext
def initialize(version, sid)
super(version)
# Path Solution
@@ -319,11 +319,11 @@
class RoomInstance < InstanceResource
##
# Initialize the RoomInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
- # @param [String] sid The sid
+ # @param [String] sid The Room Sid or name that uniquely identifies this resource.
# @return [RoomInstance] RoomInstance
def initialize(version, payload, sid: nil)
super(version)
# Marshaled Properties
@@ -429,10 +429,10 @@
def duration
@properties['duration']
end
##
- # @return [room.RoomType] Type of Room, either peer-to-peer or group.
+ # @return [room.RoomType] Type of Room, either peer-to-peer, group-small or group.
def type
@properties['type']
end
##
\ No newline at end of file