我正在使用twilio並獲取:錯誤未定義的方法`帳戶'爲Twilio。Twilio的未定義方法`帳戶'
client = Twilio::REST::Client.new('twilio_sid','twilio_token')
# Create and send an SMS message
client.account.sms.messages.create(
from: "+12345678901",
to: user.contact,
body: "Thanks for signing up. To verify your account, please reply HELLO to this message."
)
https://github.com/twilio/twilio-ruby/wiki/Ruby-Version-5.x-Upgrade-Guide – Sajin