.new_action {scenes} | R Documentation |
Structure a Scene Action
Description
Structure a Scene Action
Usage
.new_action(check_fn, methods)
Arguments
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. |
Value
A scene_action
object, which is a list
with components check_fn
and methods
.
[Package scenes version 0.1.0 Index]