Class: SOAP::MultiService::Driver::HeaderHandler

Inherits:
Header::SimpleHandler
  • Object
show all
Defined in:
lib/soapex/driver.rb

Instance Method Summary collapse

Constructor Details

#initialize(tag, value) ⇒ HeaderHandler

Returns a new instance of HeaderHandler.



9
10
11
12
13
# File 'lib/soapex/driver.rb', line 9

def initialize(tag, value)
  super(XSD::QName.new(nil, tag))
  @tag = tag
  @value = value
end

Instance Method Details

#on_simple_outboundObject

The initial handler from the sample was wrong, it generated 2 level of tags



17
18
19
# File 'lib/soapex/driver.rb', line 17

def on_simple_outbound
  @value
end