Class: Twilio::REST::Studio::V1::FlowContext::ExecutionContext::ExecutionStepContext::ExecutionStepContextListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Studio::V1::FlowContext::ExecutionContext::ExecutionStepContext::ExecutionStepContextListResponse
- Defined in:
- lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb,
lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb
Instance Method Summary collapse
- #execution_step_context ⇒ Object
- #execution_step_context_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ ExecutionStepContextListResponse
constructor
A new instance of ExecutionStepContextListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ ExecutionStepContextListResponse
164 165 166 167 168 169 170 |
# File 'lib/twilio-ruby/rest/studio/v1/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_context ⇒ Object
253 254 255 |
# File 'lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb', line 253 def execution_step_context @execution_step_context end |
#execution_step_context_instance ⇒ Object
172 173 174 |
# File 'lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb', line 172 def execution_step_context_instance @instance end |
#headers ⇒ Object
257 258 259 |
# File 'lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb', line 257 def headers @headers end |
#status_code ⇒ Object
261 262 263 |
# File 'lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb', line 261 def status_code @status_code end |