Flowdock
method

lookup_operation

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::RPC::Router
lookup_operation(soapaction, body) private

No documentation

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

Hide source
# File lib/soap/rpc/router.rb, line 237
  def lookup_operation(soapaction, body)
    if op = @operation_by_soapaction[soapaction]
      return op
    end
    qname = body.root_node.elename
    if op = @operation_by_qname[qname]
      return op
    end
    if soapaction
      raise RPCRoutingError.new(
        "operation: #{soapaction} #{qname} not supported")
    else
      raise RPCRoutingError.new("operation: #{qname} not supported")
    end
  end
Register or log in to add new notes.