From: "NAKAMURA, Hiroshi" Date: 2002-04-12T13:35:32+09:00 Subject: Re: [ANN] Ruby/Google Hi, Ian, Thank you for your interesting service. > From: Ian Macdonald [mailto:ian@caliban.org] > Sent: Friday, April 12, 2002 10:46 AM > I encourage people to try it out and let me know what they think. I've not tried it yet but here's a patch. --- google.rb.dist Fri Apr 12 06:33:22 2002 +++ google.rb Fri Apr 12 13:29:58 2002 @@ -105,8 +105,9 @@ VERSION = '0.1.0' ENDPOINT = 'http://api.google.com/search/beta2' NS = 'urn:GoogleSearch' +PROXY = ENV[ 'HTTP_PROXY' ] || ENV[ 'http_proxy' ] || nil class Search attr_reader :response - @@soap = SOAP::Driver.new(nil, nil, NS, ENDPOINT) + @@soap = SOAP::Driver.new(nil, nil, NS, ENDPOINT, PROXY) def initialize(k) Then, I can try it from now. :) Regards, // NaHi