ruby-grape-entity

Entity support to API frameworks, such as Grape
  https://github.com/intridea/grape-entity
  0
  no reviews



This library adds Entity support to API frameworks, such as Grape. Grape's Entity is an API focused facade that sits on top of an object model.

Entities are a reusable means for converting Ruby objects to API responses. Entities can be used to conditionally include fields, nest other entities, and build ever larger responses, using inheritance.