My first pass at creating a simple Rails API.