Exemplo n.º 1
0
 def __init__(self, options):
     GenericSmsDriver.__init__(self, options)
     if not self.url_pattern:
         try:
             self.url_pattern = self.options['url_pattern'].strip('"\'')
         except KeyError, e:
             raise SmsConfigError("GenericHttp driver requires 'url_pattern' option")
Exemplo n.º 2
0
 def __init__(self, options):
     GenericSmsDriver.__init__(self, options)
     if not self.url_pattern:
         try:
             self.url_pattern = self.options['url_pattern'].strip('"\'')
         except KeyError, e:
             raise SmsConfigError(
                 "GenericHttp driver requires 'url_pattern' option")
Exemplo n.º 3
0
 def __init__(self, options = {}):
     GenericSmsDriver.__init__(self, options)