Class: SoapMarshaller
- Inherits:
-
Object
- Object
- SoapMarshaller
- Defined in:
- lib/internal/marshallers/soap_marshaller.rb
Overview
Probably the most inneficient marshaller implementation
Instance Method Summary collapse
Instance Method Details
#restore(stream) ⇒ Object
20 21 22 23 |
# File 'lib/internal/marshallers/soap_marshaller.rb', line 20 def restore(stream) content = Marshal.load( stream ) SOAP::Marshal.load(content) end |
#serialize(graph) ⇒ Object
10 11 12 13 |
# File 'lib/internal/marshallers/soap_marshaller.rb', line 10 def serialize(graph) content = SOAP::Marshal.dump(graph) Marshal.dump( content ) end |
#serialize_to_stream(graph, stream) ⇒ Object
15 16 17 18 |
# File 'lib/internal/marshallers/soap_marshaller.rb', line 15 def serialize_to_stream(graph, stream) content = SOAP::Marshal.dump(graph) Marshal.dump( content, stream ) end |