mattetti / Weasel-Diesel

DSL to describe, document and test web services
MIT License
438 stars 21 forks source link

Added WSList.find(verb, route) #11

Closed drnic closed 12 years ago

drnic commented 12 years ago

I know WSList[route] exists but I don't think its useful - you can have two services with the same route but different verbs (GET /people/123 & DELETE /people/123).

This pull request add WSList.find.

Ultimately I think #[] method could/should be removed as dangerous.

mattetti commented 12 years ago

I fully agree, thanks a lot