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 create user method #7

Closed
wants to merge 1 commit into from
Closed

Add create user method #7

wants to merge 1 commit into from

Conversation

dentarg
Copy link
Contributor

@dentarg dentarg commented Sep 16, 2014

Support for creating a user.

Will raise exception and echo the error message from the API if the call wasn't successful.

Will raise exception and echo the error message from the API if the call
wasn't successful.
@dentarg
Copy link
Contributor Author

dentarg commented Sep 23, 2014

@jfromaniello @mgonto what do you think?

}.to_json
})

if response.code == 200
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should check here for any valid status I think. 201 would be good as well

@mgonto
Copy link
Contributor

mgonto commented Sep 23, 2014

Thanks for the contribution.

It looks good. Do you think there's any chance you could use VCR or something like that to add some tests. We'd greatly appreciate that :D.

Anyway, please rebase with master to merge.

Thanks!

@dentarg
Copy link
Contributor Author

dentarg commented Feb 13, 2015

Sorry for the delay, I had to prioritize other things. I will close this as it's covered by #9.

@dentarg dentarg closed this Feb 13, 2015
@dentarg dentarg deleted the feature/create-user branch April 13, 2015 14:44
ntotten pushed a commit that referenced this pull request Jan 8, 2016
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