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

Make request options optional #46

Merged
merged 1 commit into from Sep 30, 2015
Merged

Make request options optional #46

merged 1 commit into from Sep 30, 2015

Conversation

seodma
Copy link
Contributor

@seodma seodma commented Sep 25, 2015

Method: list
This method takes no parameters.
But request method require options arg, so i need to pass an empty hash
@mixpanel_client.request('funnels/list', {} )
Probably if we have method which takes no parameters, options should be optional
@mixpanel_client.request('funnels/list' )

@keolo
Copy link
Owner

keolo commented Sep 30, 2015

Seems like a fine idea. Thanks.

keolo added a commit that referenced this pull request Sep 30, 2015
Make request options optional
@keolo keolo merged commit 86976cd into keolo:master Sep 30, 2015
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.

None yet

2 participants