houdini/lib/generators/api/entity/USAGE
2018-05-22 13:33:35 -05:00

9 lines
275 B
Text

Description:
Generates a new entity to be returned by the API
Example:
rails generate api:entity EntityName
This will create:
A new subclass of Grape::Entity called Houdini::V1::Entities::EntityName
in app/api/houdini/v1/entities/entity_name.rb