Forum: Ruby Class method availble via soap server?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fish M. (Guest)
on 2006-02-24 13:57
Hi,
   does anyone know how to make a Class method available via a soap
server?

I'd like to do something like;
class Server2 < SOAP::RPC::StandaloneServer
   def on_init
      addmethod(Owner, 'find')
   end
end

where 'Owner' is the Class not object.
But this doesn't seem to work for some reason.

Cheers.
Dan.
This topic is locked and can not be replied to.