method

define_xmlattr

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.

define_xmlattr(obj)
private

No documentation available.

# File lib/soap/mapping/wsdlliteralregistry.rb, line 387
    def define_xmlattr(obj)
      obj.instance_variable_set('@__xmlattr', {})
      unless obj.respond_to?(:__xmlattr)
        Mapping.define_attr_accessor(obj, :__xmlattr, proc { @__xmlattr })
      end
    end