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

10 lines
No EOL
334 B
Text

Description:
Creates a new resource for API usage
Example:
rails generate api:resource ResourceName
This will create:
* A new subclass of Grape::API called Houdini::V1::ResourceName
at app/api/houdini/v1/resource_name.rb
* Houdini::V1::ResourceName mounted to the api in app/api/houdini/v1/api.rb