lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb in twilio-ruby-6.11.0
- old
+ new
@@ -19,10 +19,11 @@
class V1 < Version
class FlowContext < InstanceContext
class ExecutionContext < InstanceContext
class ExecutionContextList < ListResource
+
##
# Initialize the ExecutionContextList
# @param [Version] version Version that contains the resource
# @return [ExecutionContextList] ExecutionContextList
def initialize(version, flow_sid: nil, execution_sid: nil)
@@ -61,9 +62,10 @@
##
# Fetch the ExecutionContextInstance
# @return [ExecutionContextInstance] Fetched ExecutionContextInstance
def fetch
+
payload = @version.fetch('GET', @uri)
ExecutionContextInstance.new(
@version,
payload,
flow_sid: @solution[:flow_sid],