- Code quality
-
<img src=“https://codeclimate.com/github/icaroseara/yellow-cab/badges/gpa.svg” />
- Test Coverage
-
<img src=“https://codeclimate.com/github/icaroseara/yellow-cab/badges/coverage.svg” />
- CodeShip
- yellow-cab.herokuapp.com/api
-
$ curl -d '{"lat":"-23.60810717","lng":"-46.67500346","driver_id": "561af32b7c2641c235000001","available":true}' -H "Accept: application/vnd.yellow-cab-v1+json" -X POST https://yellow-cab.herokuapp.com/api/drivers
$ curl -d '{ "name": "Name", "car-plate": "AMO-2015"}' -H "Accept: application/vnd.yellow-cab-v1+json" -X POST https://yellow-cab.herokuapp.com/api/drivers
$ curl -d '{ "sw": "-23.612474,-46.702746", "ne": "-23.589548,-46.673392"}' -H "Accept: application/vnd.yellow-cab-v1+json" -X GET https://yellow-cab.herokuapp.com/api/drivers
$ curl -H "Accept: application/vnd.yellow-cab-v1+json" -X GET https://yellow-cab.herokuapp.com/api/drivers/:id/status