couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "Getting_started_with_Ruby" by newacct
Date Sat, 13 Mar 2010 06:49:38 GMT
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

Mime
View raw message