Skip to content

Instantly share code, notes, and snippets.

Last active June 4, 2019 09:40
What would you like to do?
@Accessors(fluent = true)
public class SendingResult {
private final boolean isSend;
public class EmailSender {
public SendingResult send(EmailAddress emailAddress, Payload payload) {
return new SendingResult(doSend(emailAddress, payload.message));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment