houdini/lib/generators/api/entity/USAGE

10 lines
275 B
Text
Raw Normal View History

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