Flowdock
method

encode

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::SOAPHeaderItem
encode(generator, ns, attrs = {}) public

No documentation

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

Hide source
# File lib/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
Register or log in to add new notes.