equal
deleted
inserted
replaced
97 self.order.append("key") |
97 self.order.append("key") |
98 |
98 |
99 def send(self, route, recipient, sms): |
99 def send(self, route, recipient, sms): |
100 """send on SMS to recipients via route |
100 """send on SMS to recipients via route |
101 |
101 |
102 :param string route: A valid route ``["basic", "economy", "gold", "direct"] |
102 :param string route: A valid route ``["basic", "economy", "gold", "direct"]`` |
103 :param string recipient: Mobilenumber of recipient |
103 :param string recipient: Mobilenumber of recipient |
104 :param `iro.model.message.sms` sms: the sms to send |
104 :param `iro.model.message.SMS` sms: the sms to send |
105 :return: |
105 :return: |
106 - All went ok -- :class:`iro.model.status.Status` object |
106 - All went ok -- :class:`iro.model.status.Status` object |
107 - otherwise -- an exception |
107 - otherwise -- an exception |
108 """ |
108 """ |
109 #logger.debug('smstrade.sendSMS(%s,%s)'%(sms, recipient)) |
109 #logger.debug('smstrade.sendSMS(%s,%s)'%(sms, recipient)) |