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

Call Object#method if method accessor is called with arguments #595

Merged
merged 1 commit into from
Oct 16, 2017

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe
cc @stripe/api-libraries

Fixes #524 by implementing the workaround suggested by @jakeonrails. It's a bit of a hack but it works and makes the library compatible with awesome_print even when the object has a method field.

@brandur-stripe
Copy link
Contributor

Well, this workaround is a little dirty, but it seems like an improvement. Thanks!

@brandur-stripe brandur-stripe merged commit cfa6c2b into master Oct 16, 2017
@brandur-stripe brandur-stripe deleted the ob-fix-524 branch October 16, 2017 19:01
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