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

Add #to_hash method in single resource #43

Merged
merged 2 commits into from
Aug 31, 2016
Merged

Conversation

AlfonsoUceda
Copy link
Contributor

This PR is part of bebanjo/bond#110 but it's used in bebanjo/bond#113.



def to_hash
xml.delete("type")
Copy link
Contributor

@fenomenog4 fenomenog4 Aug 31, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need that xml.delete("type") here?

Apart from that, that call to delete could be mutating the internal XML representation of the resource, is that OK?

@fenomenog4 fenomenog4 merged commit dad7dda into master Aug 31, 2016
@pacoguzman pacoguzman deleted the add-to-hash-method branch November 27, 2017 12:51
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