Skip to content

Instantly share code, notes, and snippets.

@roykolak
Created June 26, 2011 19:22
Show Gist options
  • Save roykolak/1047885 to your computer and use it in GitHub Desktop.
Save roykolak/1047885 to your computer and use it in GitHub Desktop.
Sender = function(client) {
return {
send: function(number, message) {
client.sendSms(number, message, null, function(){});
},
emptyQueueSms: function(number) {
this.send(number, this.messages.emptyQueue);
},
messages: {
emptyQueue: 'the empty queue message'
}
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment