Class: Twilio::REST::Studio::V1::FlowContext::EngagementContext::EngagementContextList

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

Instance Method Summary collapse

Constructor Details

#initialize(version, flow_sid: nil, engagement_sid: nil) ⇒ EngagementContextList

Initialize the EngagementContextList

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.


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

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

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

Instance Method Details

#to_sObject

Provide a user friendly representation


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

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