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