I've used Grape in Sinatra apps and have liked the DSL it provides for defining APIs. Further, it makes things like documenting the API simple. I think its definitely worth a look.
Regardless of what you chose, you should also definitely look at airborne <https://github.com/brooklynDev/airborne> gem for testing the API. It is built on Rspec and provides convenience methods/helpers for API testing. Michael On Sunday, 18 January 2015 13:09:41 UTC-8, kenglish wrote: > > @benwanicur I would always favor using Rails as it provides such great > routing and controller facilities. I know some people that have used > Grape (https://github.com/intridea/grape) with some success. > > I came across this post this week: > > http://www.leighhalliday.com/posts/responding-with-json-in-rails > > The only of these that I wasn't aware of was ROAR which actually looks > like a nice approach. > > Kevin > > On Sun, Jan 18, 2015 at 12:02 PM, Cynthia Kiser <[email protected] > <javascript:>> wrote: > > I haven't used it yet but this Ruby Rogues episode has me quite > > interested in Padrino - especially for things like API apps. > > > > > http://devchat.tv/ruby-rogues/170-rr-padrino-with-dario-cravero-nathan-esquenazi-arthur-chiu > > > > > > > -- > > Cynthia N. Kiser > > [email protected] <javascript:> > > > > -- > > -- > > SD Ruby mailing list > > [email protected] <javascript:> > > http://groups.google.com/group/sdruby > > --- > > You received this message because you are subscribed to the Google > Groups "SD Ruby" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
