method

add_method_interface

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: SOAP::RPC::Driver
add_method_interface(name, param_count) private

No documentation

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

Hide source
# File lib/soap/rpc/driver.rb, line 228
    def add_method_interface(name, param_count)
      ::SOAP::Mapping.define_singleton_method(self, name) do |*arg|
        unless arg.size == param_count
          raise ArgumentError.new(
          "wrong number of arguments (#{arg.size} for #{param_count})")
        end
        call(name, *arg)
      end
      self.method(name)
    end
Register or log in to add new notes.