public Method

SOAPHeader.encode(generator, ns, attrs = {}) { |data| ... }

There's no documentation for this item.

Source Code

# File soap/element.rb, line 188
def encode(generator, ns, attrs = {})
  name = ns.name(@elename)
  generator.encode_tag(name, attrs)
  @data.each do |data|
    yield(data)
  end
  generator.encode_tag_end(name, true)
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.