Class: Twilio::REST::Studio::V2::FlowContext::ExecutionContext::ExecutionStepContext::ExecutionStepContextListResponse

Inherits:
InstanceListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb,
lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, payload, key, limit = :unset) ⇒ ExecutionStepContextListResponse

Returns a new instance of ExecutionStepContextListResponse.

Parameters:



164
165
166
167
168
169
170
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 164

def initialize(version, payload, key)
   @execution_step_context_instance = payload.body[key].map do |data|
    ExecutionStepContextInstance.new(version, data)
   end
   @headers = payload.headers
   @status_code = payload.status_code
end

Instance Method Details

#execution_step_contextObject



253
254
255
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 253

def execution_step_context
    @execution_step_context
end

#execution_step_context_instanceObject



172
173
174
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 172

def execution_step_context_instance
    @instance
end

#headersObject



257
258
259
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 257

def headers
  @headers
end

#status_codeObject



261
262
263
# File 'lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb', line 261

def status_code
  @status_code
end