method
add_attributes2soap
ruby latest stable - Class:
SOAP::Mapping::WSDLLiteralRegistry
add_attributes2soap(obj, ele)private
No documentation available.
# File lib/soap/mapping/wsdlliteralregistry.rb, line 226
def add_attributes2soap(obj, ele)
attributes = schema_attribute_definition(obj.class)
if attributes
attributes.each do |qname, param|
attr = obj.__send__('xmlattr_' +
XSD::CodeGen::GenSupport.safevarname(qname.name))
ele.extraattr[qname] = attr
end
end
end