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

This replaces the redundant if statements with OOP best practices #128

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

farsene
Copy link

@farsene farsene commented May 12, 2020

This does not require tests because it only adds a good practice of OOP. I created an abstract method in BunqModel and that can easily be called from the SessionContext. Now there is no need to check the type of the user, since it is done automatically by the inheritance. Hope you find it useful!

@lexym lexym requested a review from FNG21 May 12, 2020 14:45
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