Back to Parent

elsif session[:eight_stage_complete] == true
	if latest_message_intent_name == "taylorConfirmationYes" || latest_message_intent_name == "yesNoQuestionYes"
		session[:ninth_stage_complete] = true
		session[:eight_stage_complete] = false
		send_to_twilio tenth_response_array_yes
	elsif latest_message_intent_name == "taylorConfirmationNo" || latest_message_intent_name == "yesNoQuestionNo"
		session[:tenth_stage_first_no] = true
		send_to_twilio tenth_response_array_no
	elsif session[:tenth_stage_first_no] == true
		session[:ninth_stage_complete] = true
		session[:eight_stage_complete] = false
		send_to_twilio tenth_response_array_yes
	else
		send_to_twilio tenth_response_array_backup
	end
elsif session[:ninth_stage_complete] == true
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0