Judging by case
, this isn't an example of creating a Req
, but an example of pattern matching one.
Also, is there a way, how to enumerate all possible requests in one
case
It should be
case Req(List("api", "expense", eid), "", _)
Alexey Romanov
2010-07-28 14:14:53