A very simple ruby API exercise