Class: Twilio::REST::Studio::V1::FlowContext::ExecutionContext::ExecutionContextList

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

Instance Method Summary collapse

Constructor Details

#initialize(version, flow_sid: nil, execution_sid: nil) ⇒ ExecutionContextList

Initialize the ExecutionContextList

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.


22
23
24
25
26
27
# File 'lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb', line 22

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

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

Instance Method Details

#to_sObject

Provide a user friendly representation


31
32
33
# File 'lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb', line 31

def to_s
  '#<Twilio.Studio.V1.ExecutionContextList>'
end