Back to Parent

response.set_output_speech_ssml('<speak> Alright, lets make ' + cleanName + '<break time="2s"/> Keep an eye on your phone I\'m texting you some details now. Does this recipe look good to you? </speak>')
   
    # Trigger Twillio SMS response ========================================

    @client = Twilio::REST::Client.new ENV["TWILIO_ACCOUNT_SID"], ENV["TWILIO_AUTH_TOKEN"]

    @client.api.account.messages.create(
      from: ENV['TWILIO_FROM'],
      to: "+0000000000",
      body: "😍 Alright lets make " + cleanName + "! Looks good huh?",
      media_url: recipeImage,
    )

    @client.api.account.messages.create(
      from: ENV['TWILIO_FROM'],
      to:  "+0000000000",
      body: recipeURL,
    )
Click to Expand

Content Rating

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

0