This commit is contained in:
Josh Harvey 2016-02-11 01:43:24 +02:00
parent 8734849511
commit 056d035805
6 changed files with 182 additions and 8 deletions

12
lib/sms.js Normal file
View file

@ -0,0 +1,12 @@
var accountSid = 'AC5b08587439d5e0adb5132d133941ab76'
var authToken = 'b4acf1212c0271d852706d17711e9670'
var client = require('twilio')(accountSid, authToken)
client.messages.create({
body: '[Lamassu] ALERT Stale screen: acceptingFirstBill',
to: '+359899948650',
from: '+16035383222'
}, function (err, message) {
console.log(err)
console.log(message)
})