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 option to specify key to convert #42

Merged
merged 2 commits into from
Jul 14, 2014

Conversation

ccarruitero
Copy link
Contributor

This PR adds option :key_to_convert This is useful in case you want different conversion only for some key.

If this options is not passed the logic remains the same.

@tjarratt
Copy link
Contributor

Thanks for submitting this pull request @ccarruitero! The logic here is a little tough to follow (for me at least, because of all the necessary nil checking) but the tests cover all of the cases I would expect.

tjarratt added a commit that referenced this pull request Jul 14, 2014
Add :key_to_convert option

Allows the user to specify a conversion that is different for a single key, rather than all keys.
@tjarratt tjarratt merged commit c713b9f into savonrb:master Jul 14, 2014
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