Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require 'twilio-ruby'
- @account_sid = 'AC16869b3d3bdebaf60e61e59f10cda7eb'
- @auth_token = # your authtoken here
- # set up a client to talk to the Twilio REST API
- @client = Twilio::REST::Client.new(@account_sid, @auth_token)
- @account = @client.account
- @message = @account.sms.messages.create({:from => '+14155992671', :to => '+551897913632', :body => 'FUNCIOOOOONA'})
- puts @message
Add Comment
Please, Sign In to add comment