fabrik42 / acts_as_api

makes creating API responses in Rails easy and fun
https://www.christianbaeuerlein.com/acts_as_api/
MIT License
503 stars 68 forks source link

Refactoring: responder implementation has been moved to a nested module. #92

Closed bkon closed 10 years ago

bkon commented 10 years ago

That makes it friendly to another useful 'responders' gem, allowing to combine responders:

responders ActsAsApi::Responder::Module, Responders::Pagination

The change is backwards-compatible, so you still can use original way of changing responder using

self.responder = ActsAsApi::Responder

No new tests, as no new functionality was added.

fabrik42 commented 10 years ago

Very cool, thank you!