lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb in twilio-ruby-5.38.0 vs lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb in twilio-ruby-5.39.0

- old
+ new

@@ -85,21 +85,15 @@ @solution = {flow_sid: flow_sid, engagement_sid: engagement_sid, step_sid: step_sid, } @uri = "/Flows/#{@solution[:flow_sid]}/Engagements/#{@solution[:engagement_sid]}/Steps/#{@solution[:step_sid]}/Context" end ## - # Fetch a StepContextInstance + # Fetch the StepContextInstance # @return [StepContextInstance] Fetched StepContextInstance def fetch - params = Twilio::Values.of({}) + payload = @version.fetch('GET', @uri) - payload = @version.fetch( - 'GET', - @uri, - params, - ) - StepContextInstance.new( @version, payload, flow_sid: @solution[:flow_sid], engagement_sid: @solution[:engagement_sid], @@ -200,10 +194,10 @@ def url @properties['url'] end ## - # Fetch a StepContextInstance + # Fetch the StepContextInstance # @return [StepContextInstance] Fetched StepContextInstance def fetch context.fetch end \ No newline at end of file