You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/03/13 07:49:38 UTC

[Couchdb Wiki] Trivial Update of "Getting_started_with_Ruby" by newacct

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Getting_started_with_Ruby" page has been changed by newacct.
http://wiki.apache.org/couchdb/Getting_started_with_Ruby?action=diff&rev1=3&rev2=4

--------------------------------------------------

  
      def request(req)
        res = Net::HTTP.start(@host, @port) { |http|http.request(req) }
-       if (not res.kind_of?(Net::HTTPSuccess))
+       unless res.kind_of?(Net::HTTPSuccess)
          handle_error(req, res)
        end
        res