-
Notifications
You must be signed in to change notification settings - Fork 4
Resource Documentation
Rafael Jurado González edited this page May 6, 2013
·
7 revisions
For get resources documentation you need add a resource block to resource controller:
# =begin resource
# ...
# =end
If you use controllers_route parameter in config:
# =begin resource
...
# =end
- description: resource description.
# =begin resource
# description: >
# Represents an user in the system.
# User recourse is the main element of the application.
# =end
You can use array format for multiple paragraphs.
# =begin resource
# description:
# - Represents an user in the system.
# - User recourse is the main element of the application.
# =end
If you use controller_route options (.yml):
# =begin resource
description: >
Represents an user in the system.
User recourse is the main element of the application.
# =end