user3813472
user3813472

Reputation: 101

Can you integrate Shoes apps into Sinatra?

How would someone integrate a Shoes GUI with something like Sinatra? How does that work or is that not possible? Would I call for it instead of an erb file? Can shoes GUIs make get, put, post, and delete requests? Thanks.

Upvotes: 0

Views: 61

Answers (1)

Grych
Grych

Reputation: 2901

You can use REST requests from any application, so obviously from Shoes as well. Take a look at the rest-client gem - it is a quick solution for a small clients. Or you may use Active Resource, the Active Record like approach.

Upvotes: 1

Related Questions