This application demonstrates versioning of api with the help of grape gem
App requires that you have installed: Thin Grape Curl
Start app:
-
run "thin start"
-
check how it works, run :
curl 0.0.0.0:3000/foocurl 0.0.0.0:3000/timecurl 0.0.0.0:3000/v2/barcurl 0.0.0.0:3000/v2/time