ruby-grape / grape-active_model_serializers

User active_model_serializers with Grape
MIT License
140 stars 68 forks source link

Refactor option and serializer resolution. #59

Closed drn closed 8 years ago

drn commented 8 years ago

@dblock, @jrhe, @siong1987 - This refactors the class methods in the Grape::Formatter::ActiveModelSerializers in to separate classes. The functionality should be exactly the same - this refactor just moves logic around to leverage OOP.

I'm planning on reimplementing the changes in pull https://github.com/ruby-grape/grape-active_model_serializers/pull/58 on top of this infrastructure

dblock commented 8 years ago

👍