Flowdock
method

parse_attr

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: WSDL::SOAP::Binding
parse_attr(attr, value) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/wsdl/soap/binding.rb, line 30
  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 TransportAttrName
      @transport = value.source
    else
      nil
    end
  end
Register or log in to add new notes.