equal
deleted
inserted
replaced
82 Provider.__init__(self, name, {"sms":["basic","economy","gold","direct"]}) |
82 Provider.__init__(self, name, {"sms":["basic","economy","gold","direct"]}) |
83 self.options.update({ |
83 self.options.update({ |
84 "key":Option(lambda x,y:x,long="smstrade Gateway Key https://login.smstrade.de/index.php?gateway", must=True) |
84 "key":Option(lambda x,y:x,long="smstrade Gateway Key https://login.smstrade.de/index.php?gateway", must=True) |
85 }) |
85 }) |
86 |
86 |
87 def send(self, route, sms, recipient): |
87 def send(self, route, recipient, sms): |
88 """send SMS with $sms to $recipients""" |
88 """send SMS with $sms to $recipients""" |
89 #logger.debug('smstrade.sendSMS(%s,%s)'%(sms, recipient)) |
89 #logger.debug('smstrade.sendSMS(%s,%s)'%(sms, recipient)) |
90 |
90 |
91 route = unicode(route) |
91 route = unicode(route) |
92 |
92 |