method

marshal

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: SOAP::Marshal
marshal(obj, mapping_registry = MarshalMappingRegistry, io = nil) public

No documentation

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

Hide source
# File lib/soap/marshal.rb, line 36
    def marshal(obj, mapping_registry = MarshalMappingRegistry, io = nil)
      elename = Mapping.name2elename(obj.class.to_s)
      soap_obj = Mapping.obj2soap(obj, mapping_registry)
      body = SOAPBody.new
      body.add(elename, soap_obj)
      env = SOAPEnvelope.new(nil, body)
      SOAP::Processor.marshal(env, {}, io)
    end
Register or log in to add new notes.