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

Return whole offerData if no arguments are passed to data method #211

Merged
merged 1 commit into from
Mar 6, 2017
Merged

Conversation

jankuss
Copy link
Contributor

@jankuss jankuss commented Mar 6, 2017

I think it would be handy if there was a easy way to get the whole offerData object of a TradeOffer.

Since we are using the data method to access the properties of the offerData object, I implemented this functionality into the data method when no arguments are passed.

This should be backwards compatible, since it was impossible before to access the data method with zero arguments.

@DoctorMcKay DoctorMcKay merged commit 9e5f74f into DoctorMcKay:master Mar 6, 2017
@DoctorMcKay
Copy link
Owner

Looks good, thanks.

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