Simple example of a Rails API