Class: YSM::Service::HeaderHandler
- Inherits:
-
SOAP::Header::SimpleHandler
- Object
- SOAP::Header::SimpleHandler
- YSM::Service::HeaderHandler
- Defined in:
- lib/ysm4r/service.rb
Instance Method Summary collapse
-
#initialize(tag, value) ⇒ HeaderHandler
constructor
A new instance of HeaderHandler.
-
#on_simple_outbound ⇒ Object
The initial handler from the sample was wrong, it generated 2 level of tags.
Constructor Details
#initialize(tag, value) ⇒ HeaderHandler
Returns a new instance of HeaderHandler.
23 24 25 26 27 |
# File 'lib/ysm4r/service.rb', line 23 def initialize(tag, value) super(XSD::QName.new(nil, tag)) @tag = tag @value = value end |
Instance Method Details
#on_simple_outbound ⇒ Object
The initial handler from the sample was wrong, it generated 2 level of tags
31 32 33 |
# File 'lib/ysm4r/service.rb', line 31 def on_simple_outbound @value end |