Created
April 8, 2018 03:34
-
-
Save brianhsu/0c5026646c848bf759479377a7932544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserToJSONPresenter extends CreateUserPresenter { | |
private var mData: User = _ | |
def onResult(user: User) { | |
mData = user | |
} | |
def toJSON = ??? | |
} | |
val executor = new NoLogUseCaseExecutor | |
val useCase = new CreateUser(....) | |
val newUser = executor.execute(useCase, presenter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment