Skip to content

Added options to the User.info method#10

Open
chicohernando wants to merge 4 commits intocmar:masterfrom
chicohernando:master
Open

Added options to the User.info method#10
chicohernando wants to merge 4 commits intocmar:masterfrom
chicohernando:master

Conversation

@chicohernando
Copy link
Copy Markdown

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

@disengaged
Copy link
Copy Markdown

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

@cmar
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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