Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add queues to mail #494

Merged
merged 8 commits into from
Dec 4, 2018
Merged

Add queues to mail #494

merged 8 commits into from
Dec 4, 2018

Conversation

josephmancuso
Copy link
Member

This PR adds the ability to use a new queue() method on mail sending.

previously we could do this:

def show(self, mail: Mail):
    mail.to('email@email.com').send('message')

Now we can optionally pass the queue method:

def show(self, mail: Mail):
    mail.to('email@email.com').queue().send('message')

@josephmancuso josephmancuso self-assigned this Dec 3, 2018
@coveralls
Copy link

coveralls commented Dec 3, 2018

Coverage Status

Coverage decreased (-0.4%) to 89.448% when pulling e2a100a on add-queues-to-mail into b04b01d on develop.

@josephmancuso josephmancuso merged commit fc0e30b into develop Dec 4, 2018
@josephmancuso josephmancuso deleted the add-queues-to-mail branch December 23, 2018 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants