iro/offer/smstrade.py
branchdevel
changeset 256 530d6283c0e3
parent 255 507f6f4186d8
child 269 0d134b173cb1
equal deleted inserted replaced
255:507f6f4186d8 256:530d6283c0e3
    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))