diff options
author | Neissi Torres Lima <neissi.lima@gmail.com> | 2014-08-05 17:43:05 -0300 |
---|---|---|
committer | Neissi Torres Lima <neissi.lima@gmail.com> | 2014-08-05 17:43:25 -0300 |
commit | dec451c063876a3a580375455a3db0dcf398dc9c (patch) | |
tree | 8c4df8faf123ed672c23834150a6a4fc0550bde3 /service/app/adapter/mail_converter.py | |
parent | 85f663fdb0d02827b7ab1a8d501ab9caa3fcaf49 (diff) |
Now you can run the server and the tests without changing any code!
Diffstat (limited to 'service/app/adapter/mail_converter.py')
-rw-r--r-- | service/app/adapter/mail_converter.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/service/app/adapter/mail_converter.py b/service/app/adapter/mail_converter.py new file mode 100644 index 00000000..a77fcdb7 --- /dev/null +++ b/service/app/adapter/mail_converter.py @@ -0,0 +1,19 @@ +class MailConverter: + + def __init__(self, mail_service): + pass + + def from_mail(self, imap_mail): + return inbox_mail + + + def to_mail(self, pixelated_mail, account): + raise NotImplementedError() + + + def from_tag(self, imap_tag): + raise NotImplementedError() + + + def from_contact(self, imap_contact): + raise NotImplementedError() |