5 ways to improve your Ruby and Rails web APIs:
1. Select the right framework and rubgems
2. Prototype your API first
3. Build acceptance tests
4. Utilize API tools for faster development
5. Build a great developer experience
9. Ways to Prototype
Static files – manual response for GET only
Stubbed controllers – works for all request types
Heroku Dataclips – great for a quick way to
build SQL-to-JSON for GET requests
11. TDD APIs FTW!
Acceptance tests will ensure you
write better APIs by mimicking
how developers will consume your
API
12. What should you use?
RSpec, Cucumber, ???
One is not better than another
Use a testing framework so a
failure should break your build
and report on what failed