Class: SessionHeader
- Inherits:
-
SOAP::Header::SimpleHandler
- Object
- SOAP::Header::SimpleHandler
- SessionHeader
- Defined in:
- lib/metal/default.rb
Constant Summary collapse
- NAMESPACE =
'http://ws.rsys.com'
Instance Attribute Summary collapse
-
#session_id ⇒ Object
Returns the value of attribute session_id.
Instance Method Summary collapse
-
#initialize(session_id) ⇒ SessionHeader
constructor
A new instance of SessionHeader.
- #on_simple_outbound ⇒ Object
Constructor Details
#initialize(session_id) ⇒ SessionHeader
Returns a new instance of SessionHeader.
1113 1114 1115 1116 |
# File 'lib/metal/default.rb', line 1113 def initialize(session_id) @session_id = session_id super(XSD::QName.new(NAMESPACE, 'Security')) end |
Instance Attribute Details
#session_id ⇒ Object
Returns the value of attribute session_id.
1111 1112 1113 |
# File 'lib/metal/default.rb', line 1111 def session_id @session_id end |
Instance Method Details
#on_simple_outbound ⇒ Object
1118 1119 1120 |
# File 'lib/metal/default.rb', line 1118 def on_simple_outbound { sessiondId: @session_id } end |