class Twilio::REST::Studio::V1::FlowContext::ExecutionContext::ExecutionStepContext::ExecutionStepContextPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the ExecutionStepContextPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [ExecutionStepContextPage] ExecutionStepContextPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb 46 def initialize(version, response, solution) 47 super(version, response) 48 49 # Path Solution 50 @solution = solution 51 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of ExecutionStepContextInstance
@param [Hash] payload Payload response from the API @return [ExecutionStepContextInstance] ExecutionStepContextInstance
# File lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb 57 def get_instance(payload) 58 ExecutionStepContextInstance.new( 59 @version, 60 payload, 61 flow_sid: @solution[:flow_sid], 62 execution_sid: @solution[:execution_sid], 63 step_sid: @solution[:step_sid], 64 ) 65 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb 69 def to_s 70 '<Twilio.Studio.V1.ExecutionStepContextPage>' 71 end