Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
# File 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