class Twilio::REST::Studio::V2::FlowContext::FlowTestUserPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the FlowTestUserPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [FlowTestUserPage] FlowTestUserPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/studio/v2/flow/test_user.rb 41 def initialize(version, response, solution) 42 super(version, response) 43 44 # Path Solution 45 @solution = solution 46 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of FlowTestUserInstance
@param [Hash] payload Payload response from the API @return [FlowTestUserInstance] FlowTestUserInstance
# File lib/twilio-ruby/rest/studio/v2/flow/test_user.rb 52 def get_instance(payload) 53 FlowTestUserInstance.new(@version, payload, sid: @solution[:sid], ) 54 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/studio/v2/flow/test_user.rb 58 def to_s 59 '<Twilio.Studio.V2.FlowTestUserPage>' 60 end