class Twilio::REST::Video::V1::RoomPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the RoomPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [RoomPage] RoomPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/video/v1/room.rb 212 def initialize(version, response, solution) 213 super(version, response) 214 215 # Path Solution 216 @solution = solution 217 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of RoomInstance
@param [Hash] payload Payload response from the API @return [RoomInstance] RoomInstance
# File lib/twilio-ruby/rest/video/v1/room.rb 223 def get_instance(payload) 224 RoomInstance.new(@version, payload, ) 225 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/video/v1/room.rb 229 def to_s 230 '<Twilio.Video.V1.RoomPage>' 231 end