Macro cargonauts::routes [] [src]

macro_rules! routes {
    {$(resource $resource:ident : [$($method:ident),*] { $(has $count:ident $rel:ident : [$($rel_method:ident),*];)*})*} => { ... };
}

The entry point for the routes DSL, which defines the endpoints of your API.