Class: Twilio::REST::Studio::V2::FlowContext::ExecutionContext::ExecutionStepContext::ExecutionStepContextList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, flow_sid: nil, execution_sid: nil, step_sid: nil) ⇒ ExecutionStepContextList

Initialize the ExecutionStepContextList

Parameters:

  • version (Version)

    Version that contains the resource

  • flow_sid (String) (defaults to: nil)

    The SID of the Flow.

  • execution_sid (String) (defaults to: nil)

    The SID of the context's Execution resource.

  • step_sid (String) (defaults to: nil)

    The SID of the Step that the context is associated with.


25
26
27
28
29
30
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 25

def initialize(version, flow_sid: nil, execution_sid: nil, step_sid: nil)
  super(version)

  # Path Solution
  @solution = {flow_sid: flow_sid, execution_sid: execution_sid, step_sid: step_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


34
35
36
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 34

def to_s
  '#<Twilio.Studio.V2.ExecutionStepContextList>'
end