method
simpleobj2soap
v1_8_7_72 -
Show latest stable
- Class:
SOAP::Mapping::WSDLEncodedRegistry
simpleobj2soap(obj, type)private
No documentation available.
# File lib/soap/mapping/wsdlencodedregistry.rb, line 124
def simpleobj2soap(obj, type)
type.check_lexical_format(obj)
return SOAPNil.new if obj.nil? # ToDo: check nillable.
o = base2soap(obj, TypeMap[type.base])
o
end