Created
September 17, 2012 20:02
-
-
Save bigthyme/3739442 to your computer and use it in GitHub Desktop.
Code for Twilio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
client.account.sms.message.create({ | |
:from => "+1##########", #enter your Twilio numbers here | |
:to => '+1##########', | |
:body => "Hey there Good Lookin!" | |
}) | |
rescue Exception => e | |
#Console log just to confirm your SMS went through | |
puts "Message successfully sent!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment