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

Allow to define custom serializer for given class #897

Merged
merged 1 commit into from
May 10, 2015

Conversation

imanel
Copy link
Contributor

@imanel imanel commented May 3, 2015

Resolves #515.
Adjusted commit from 0-9-stable so it will work with master.

…izer_class method in serialized object's class. Resolves rails-api#515.
@ekampp
Copy link

ekampp commented May 4, 2015

This seems like a good, clean implementation, and would keep serialization logic for the object out of the controller.

@joaomdmoura
Copy link
Member

A tiny and clean patch, taking into consideration it was already merge into old AMS version, I'm merging it.

joaomdmoura added a commit that referenced this pull request May 10, 2015
Allow to define custom serializer for given class
@joaomdmoura joaomdmoura merged commit 46ae776 into rails-api:master May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants