We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 955308c commit 08e8611Copy full SHA for 08e8611
1 file changed
mailboxer/mailboxer.py
@@ -28,7 +28,7 @@ def get_mailbox(self, address):
28
return Mailbox(self, address)
29
30
def does_mailbox_exist(self, address):
31
- return Mailbox(self, address).does_exist()
+ return Mailbox(self, address).exists()
32
33
def _post(self, url, data):
34
returned = requests.post(url, data=json.dumps(data),
@@ -58,7 +58,7 @@ def get_emails(self, unread = False):
58
url = self.url.add_path("unread_emails") if unread else self.url.add_path("emails")
59
return self.mailboxer._get_paged(url, Email)
60
61
- def does_exist(self):
+ def exists(self):
62
url = self.url.add_path("emails")
63
response = requests.get(url)
64
if(response.status_code == requests.codes.not_found):
0 commit comments