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

refactored new-user #17

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

refactored new-user #17

wants to merge 3 commits into from

Conversation

danielsz
Copy link

@danielsz danielsz commented May 1, 2014

This could be as simple as that unless I have misunderstood your intent.

@danielsz
Copy link
Author

danielsz commented May 1, 2014

I had indeed misunderstood, but the tests showed me the way. :-)
New-user can accept either a map of attributes, or string parameters.

@danielsz
Copy link
Author

danielsz commented May 1, 2014

Same technique used for register-user: taking advantage of Clojure destructuring we can reduce function signatures.

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.

1 participant