Method: Twilio::REST::Studio::V1::FlowContext::EngagementContext::StepPage#get_instance

Defined in:
lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb

#get_instance(payload) ⇒ StepInstance

Build an instance of StepInstance

Parameters:

  • payload (Hash)

    Payload response from the API

Returns:



218
219
220
# File 'lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb', line 218

def get_instance(payload)
    StepInstance.new(@version, payload, flow_sid: @solution[:flow_sid], engagement_sid: @solution[:engagement_sid])
end