# File lib/soap/mapping/factory.rb, line 181 181: def obj2soap(soap_class, obj, info, map) 182: if !@allow_original_mapping and 183: Time === obj and !obj.instance_variables.empty? 184: return nil 185: end 186: soap_obj = nil 187: begin 188: soap_obj = soap_class.new(obj) 189: rescue XSD::ValueSpaceError 190: return nil 191: end 192: mark_marshalled_obj(obj, soap_obj) 193: soap_obj 194: end
# File lib/soap/mapping/factory.rb, line 196 196: def soap2obj(obj_class, node, info, map) 197: if node.respond_to?(:to_obj) 198: obj = node.to_obj(obj_class) 199: return false if obj.nil? 200: mark_unmarshalled_obj(node, obj) 201: return true, obj 202: else 203: return false 204: end 205: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.