public Method

SOAPHeaderItem.encode(generator, ns, attrs = {}) { |@element| ... }

There's no documentation for this item.

Source Code

# File soap/element.rb, line 164
def encode(generator, ns, attrs = {})
  attrs.each do |key, value|
    @element.extraattr[key] = value
  end
  @element.extraattr[ns.name(AttrMustUnderstandName)] =
    (@mustunderstand ? '1' : '0')
  if @encodingstyle
    @element.extraattr[ns.name(AttrEncodingStyleName)] = @encodingstyle
  end
  @element.encodingstyle = @encodingstyle if !@element.encodingstyle
  yield(@element)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.