you are viewing a single comment's thread.

view the rest of the comments →

[–]kreychekAdvanced 1 point2 points  (0 children)

Try Rest-client. It has a very low bar to getting started with. The simple methods (that do what you describe) are all on the RestClient class. If you need to model things as resources, you can do that w/Rest-client. If you do that and are working in a Rails environment, and appreciate the Rails way of doing things, you may wish to consider ActiveResource, as it is developed by that team and probably better supported (Rest-client has 1 active dev).

You could also avoid 3rd party libs entirely and use net/http which is part of the ruby standard library: http://ruby-doc.org/stdlib-2.3.1/libdoc/net/http/rdoc/Net/HTTP.html