method

new

ruby latest stable - Class: SOAP::SOAPEnvelope

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

new(header = nil, body = nil)
public

No documentation available.

# File lib/soap/element.rb, line 219
  def initialize(header = nil, body = nil)
    super()
    @type = nil
    @elename = EleEnvelopeName
    @encodingstyle = nil
    @header = header
    @body = body
    @external_content = {}
    header.parent = self if header
    body.parent = self if body
  end