gsoni
gsoni

Reputation: 1146

Webservice in ruby

How can I make a webservice in ruby that interact with ruby web application.

Thanks!

Upvotes: 0

Views: 150

Answers (2)

bradgonesurfing
bradgonesurfing

Reputation: 32162

For simple stupid web service you can't go past Sinatra

http://www.sinatrarb.com/

The cannonical example.

require 'rubygems'
require 'sinatra'

get '/hi' do
    "Hello World!"
end

That's it

Upvotes: 1

Steve Weet
Steve Weet

Reputation: 28392

You have not given us a lot to go on here however it is likely that you are interested in one or more of the following. Try googling them to see which one will do what you want

  • ActiveResource
  • ActionWebService
  • Savon/Handsoap

Upvotes: 1

Related Questions