Class: SOAP::CGIStub

Inherits:
RPC::CGIStub
  • Object
show all
Defined in:
lib/soap/compat.rb

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ CGIStub

Returns a new instance of CGIStub.



72
73
74
75
# File 'lib/soap/compat.rb', line 72

def initialize(*arg)
  super
  methodDef if respond_to?('methodDef')
end

Instance Method Details

#addMethod(receiver, methodName, *paramArg) ⇒ Object



79
80
81
# File 'lib/soap/compat.rb', line 79

def addMethod(receiver, methodName, *paramArg)
  addMethodWithNSAs(@default_namespace, receiver, methodName, methodName, *paramArg)
end

#addMethodAs(receiver, methodName, methodNameAs, *paramArg) ⇒ Object



83
84
85
# File 'lib/soap/compat.rb', line 83

def addMethodAs(receiver, methodName, methodNameAs, *paramArg)
  addMethodWithNSAs(@default_namespace, receiver, methodName, methodNameAs, *paramArg)
end

#addMethodWithNS(namespace, receiver, methodName, *paramArg) ⇒ Object



87
88
89
# File 'lib/soap/compat.rb', line 87

def addMethodWithNS(namespace, receiver, methodName, *paramArg)
  addMethodWithNSAs(namespace, receiver, methodName, methodName, *paramArg)
end

#addMethodWithNSAs(namespace, receiver, methodName, methodNameAs, *paramArg) ⇒ Object



91
92
93
# File 'lib/soap/compat.rb', line 91

def addMethodWithNSAs(namespace, receiver, methodName, methodNameAs, *paramArg)
  add_method_with_namespace_as(namespace, receiver, methodName, methodNameAs, *paramArg)
end