.new_action {scenes} | R Documentation |
Structure a Scene Action
.new_action(check_fn, methods)
check_fn |
The function that processes the request to determine if an associated scene should be returned. |
methods |
The http methods supported by this action. |
A scene_action
object, which is a list
with components check_fn
and methods
.