method

marshal

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: SOAP::Marshal

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

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.