10 lines
No EOL
334 B
Text
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 |