method
assign_operation
v1_8_6_287 -
Show latest stable
- Class:
SOAP::RPC::Router
assign_operation(soapaction, qname, op)private
No documentation available.
# File lib/soap/rpc/router.rb, line 222
def assign_operation(soapaction, qname, op)
assigned = false
if soapaction and !soapaction.empty?
@operation_by_soapaction[soapaction] = op
assigned = true
end
if qname
@operation_by_qname[qname] = op
assigned = true
end
unless assigned
raise RPCRoutingError.new("cannot assign operation")
end
end