[ANN] rc-rest 2.2.0 Released

M

Mark Volkmann

rc-rest version 2.2.0 has been released!

http://seattlerb.rubyforge.org/rc-rest

This library makes it easy to implement REST-like web services APIs.

Changes:

= 2.2.0

* Moved to seattlerb rubyforge project
* Moved to p4
* Wrap communication errors in RCRest::CommunicationError


http://seattlerb.rubyforge.org/rc-rest

Does this currently only send get and post requests? What about put
and delete?

I understand that we can look at the gems yahoo-search, google-
geocode and geocoder-us for examples, but is their a simpler example
somewhere that demonstrates client and server pieces?
 
E

Eric Hodel

Does this currently only send get and post requests? What about put
and delete?

Adding PUT and DELETE would be super-simple. I've never needed it,
though. Give me a simple API using PUT and DELETE to wrap up and I
can add it in a few weeks time (I've got plans for other projects in
my queue). Or you can add it yourself and send me a patch. rc-
rest.rb is only 279 lines and is well-tested.
I understand that we can look at the gems yahoo-search, google-
geocode and geocoder-us for examples, but is their a simpler
example somewhere that demonstrates client and server pieces?

rc-rest is client-side only. The documentation should contain enough
information to get you started on wrapping an API.

ri RCRest has a super-simple GET example in it for a fake API.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,279
Latest member
LaRoseDermaBottle

Latest Threads

Top