method

parse_attr

ruby latest stable - Class: WSDL::SOAP::Operation

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.

parse_attr(attr, value)
public

No documentation available.

# File lib/wsdl/soap/operation.rb, line 50
  def parse_attr(attr, value)
    case attr
    when StyleAttrName
      if ["document", "rpc"].include?(value.source)
        @style = value.source.intern
      else
        raise Parser::AttributeConstraintError.new(
          "Unexpected value #{ value }.")
      end
    when SOAPActionAttrName
      @soapaction = value.source
    else
      nil
    end
  end