acts_as_api makes creating XML/JSON responses in Rails 3, 4, 5 and 6 easy and fun. It provides a simple interface to determine the representation of your model data, that should be rendered in your API responses. In addition to Rails it theoretically can be used with any ruby app and any database (ActiveRecord, Mongoid and ActiveResource are supported out of the box) as it only has few dependencie