From: Daniel Berger Date: 2002-10-24T06:58:53+09:00 Subject: Re: XMLRPC and IP authentication Michael Neumann wrote: > On Wed, 2002-10-23 at 20:06, Daniel Berger wrote: > > Is there a way to use this without having to define my own subclass? If so, > > can you please provide an example? > > Not in 1.7.12, but probably in 1.7.13: > > s = XMLRPC::Server(...) > s.set_valid_ip("192.168.1.5", "127.0.0.1", /^192\.168\.2\./) > > Is that what you need? That would be awesome. I'm hoping you'll allow arrays as well: v = ["192.168.1.5","192.168.1.6"] s.set_valid_ip(v) or does that work anyway? I forget. Thanks! Dan