class Twilio::REST::FlexApi::V1::WebChannelPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the WebChannelPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [WebChannelPage] WebChannelPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/flex_api/v1/web_channel.rb 144 def initialize(version, response, solution) 145 super(version, response) 146 147 # Path Solution 148 @solution = solution 149 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of WebChannelInstance
@param [Hash] payload Payload response from the API @return [WebChannelInstance] WebChannelInstance
# File lib/twilio-ruby/rest/flex_api/v1/web_channel.rb 155 def get_instance(payload) 156 WebChannelInstance.new(@version, payload, ) 157 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/flex_api/v1/web_channel.rb 161 def to_s 162 '<Twilio.FlexApi.V1.WebChannelPage>' 163 end