Skip to content

Added options to the User.info method #10

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

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

Conversation

chicohernando
Copy link

Without it the option of 'compact' cannot be used.

@disengaged
Copy link

  • 1 on this pull request from me. There are a few other methods also missing the options argument.

@cmar
Copy link
Owner

cmar commented Mar 23, 2015

Thanks for the pull request. Could you create a test in https://github.com/cmar/untappd/blob/master/spec/user_spec.rb to make sure the options are working correctly?

…param.

Added a test to verify that passing compact with true removes the recent_brews, media, and checkin fields from the response.
@chicohernando
Copy link
Author

@cmar - Added test to verify that the User.info options are working correctly. Also updated the README.md to reflect that the options param is now available.

@chicohernando
Copy link
Author

@cmar - Are there any more updates that you would like me to make to get this merged?

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.

3 participants