Class: Twilio::REST::Studio::V1::FlowContext::EngagementContext::StepContext::StepContextList

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

Instance Method Summary collapse

Constructor Details

#initialize(version, flow_sid: nil, engagement_sid: nil, step_sid: nil) ⇒ StepContextList

Initialize the StepContextList

Parameters:

  • version (Version)

    Version that contains the resource

  • flow_sid (String) (defaults to: nil)

    The SID of the Flow.

  • engagement_sid (String) (defaults to: nil)

    The SID of the Engagement.

  • step_sid (String) (defaults to: nil)

    The SID of the Step the context is associated with.


24
25
26
27
28
29
# File 'lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb', line 24

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

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

Instance Method Details

#to_sObject

Provide a user friendly representation


33
34
35
# File 'lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb', line 33

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