method

add_attributes2soap

ruby latest stable - Class: SOAP::Mapping::WSDLLiteralRegistry

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

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