Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Grape APIs

Grape APIs

Christopher Hein

December 18, 2012
Tweet

More Decks by Christopher Hein

Other Decks in Programming

Transcript

  1. Helpers... class API < Grape::API helpers do def current_user User.find

    params[:id] end end # omitted for awesomeness end