affo_sms_service.sms package

Submodules

affo_sms_service.sms.exception module

exception affo_sms_service.sms.exception.SMSError

Bases: Exception

exception affo_sms_service.sms.exception.SMSNoSuchGateway

Bases: affo_sms_service.sms.exception.SMSError

exception affo_sms_service.sms.exception.InvalidPhone

Bases: affo_sms_service.sms.exception.SMSError

affo_sms_service.sms.sms_factory module

class affo_sms_service.sms.sms_factory.SMSFactory

Bases: object

get(name)
get_for_phone(phone, retry=False)
send(from_, to, body, retry=False, key=None)

affo_sms_service.sms.utils module

affo_sms_service.sms.utils.import_string(dotted_path)

Import a dotted module path and return the attribute/class designated by the last name in the path. Raise ImportError if the import failed.

class affo_sms_service.sms.utils.Singleton

Bases: type

Module contents