You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@client = Twilio::REST::Client.new account_sid, auth_token
# alternatively, you can preconfigure the client like so
Twilio.configure do |config|
config.account_sid = account_sid
config.auth_token = auth_token
end
# and then you can create a new client without parameters
@client = Twilio::REST::Client.new
However, the sms-spec entry point for Client.newrequires arguments. So if you use the convenience code above, things break when including the test tool.
The text was updated successfully, but these errors were encountered:
However, the sms-spec entry point for
Client.new
requires arguments. So if you use the convenience code above, things break when including the test tool.The text was updated successfully, but these errors were encountered: