Flowdock
method

add_rpc_method_interface

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::WSDLDriver::Servant__
add_rpc_method_interface(name, parts_names) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/wsdlDriver.rb, line 539
    def add_rpc_method_interface(name, parts_names)
      ::SOAP::Mapping.define_singleton_method(@host, name) do |*arg|
        unless arg.size == parts_names.size
          raise ArgumentError.new(
            "wrong number of arguments (#{arg.size} for #{parts_names.size})")
        end
        @servant.rpc_call(name, *arg)
      end
      @host.method(name)
    end
Register or log in to add new notes.