| Module | SOAP::Marshal |
| In: |
soap/marshal.rb
|
| MarshalMappingRegistry | = | Mapping::Registry.new( :allow_original_mapping => true) | Trying xsd:dateTime data to be recovered as aTime. |
# File soap/marshal.rb, line 28 def dump(obj, io = nil) marshal(obj, MarshalMappingRegistry, io) end
# File 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
ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.