mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
fixing twilio message
This commit is contained in:
parent
f4a6d4ce22
commit
8b19e1fac2
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class Attempt < ApplicationRecord
|
|||
message = client.messages.create(
|
||||
from: twilio_number,
|
||||
to: recipient.phone,
|
||||
body: "#{question.text}%0a%0a#{question.option1}: Reply 1\n\r%0a%Oa#{question.option2}: Reply 2%0a#{question.option3}: Reply 3%0a#{question.option4}: Reply 4%0a#{question.option5}: Reply 5"
|
||||
body: "#{question.text}\n\r#{question.option1}: Reply 1\n\r#{question.option2}: Reply 2\n\r#{question.option3}: Reply 3\n\r#{question.option4}: Reply 4\n\r#{question.option5}: Reply 5"
|
||||
)
|
||||
|
||||
puts message.inspect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue