Sha256: d798dc5abde2bea5833ff74a979bd4e8713d7fbbe9ebf75c1e3c43d943c89b47
Contents?: true
Size: 550 Bytes
Versions: 81
Compression:
Stored size: 550 Bytes
Contents
require 'soap/rpc/driver' require 'iRAA' module RAA extend SOAP class Driver def initialize(server = 'http://raa.ruby-lang.org/soap/1.0/', proxy = nil) @drv = SOAP::RPC::Driver.new(server, RAA::InterfaceNS) @drv.httpproxy = proxy if proxy @drv.mapping_registry = RAA::MappingRegistry RAA::Methods.each do |name, *params| @drv.add_method(name, params) end end def setLogDev(logdev) # ignored. end def method_missing(msg_id, *a, &b) @drv.__send__(msg_id, *a, &b) end end end
Version data entries
81 entries across 81 versions & 2 rubygems