Flowdock
method

new

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: SOAP::SOAPGenerator
new(opt = {}) public

No documentation

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

Hide source
# File lib/soap/generator.rb, line 33
  def initialize(opt = {})
    @reftarget = nil
    @handlers = {}
    @charset = opt[:charset] || XSD::Charset.xml_encoding_label
    @default_encodingstyle = opt[:default_encodingstyle] || EncodingNamespace
    @generate_explicit_type =
      opt.key?(:generate_explicit_type) ? opt[:generate_explicit_type] : true
    @elementformdefault = opt[:elementformdefault]
    @attributeformdefault = opt[:attributeformdefault]
    @use_numeric_character_reference = opt[:use_numeric_character_reference]
    @indentstr = opt[:no_indent] ? '' : '  '
    @buf = @indent = @curr = nil
  end
Register or log in to add new notes.