Class: WinRM::PSRP::MessageData::SessionCapability
- Inherits:
-
Base
- Object
- Base
- WinRM::PSRP::MessageData::SessionCapability
show all
- Defined in:
- lib/winrm/psrp/message_data/session_capability.rb
Overview
session capability message type
Instance Attribute Summary
Attributes inherited from Base
#raw
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#protocol_version ⇒ Object
20
21
22
|
# File 'lib/winrm/psrp/message_data/session_capability.rb', line 20
def protocol_version
clixml[:version].select { |v| v.attributes['N'] == 'protocolversion' }.first
end
|
#ps_version ⇒ Object
24
25
26
|
# File 'lib/winrm/psrp/message_data/session_capability.rb', line 24
def ps_version
clixml[:version].select { |v| v.attributes['N'] == 'PSVersion' }.first
end
|
#serialization_version ⇒ Object
28
29
30
|
# File 'lib/winrm/psrp/message_data/session_capability.rb', line 28
def serialization_version
clixml[:version].select { |v| v.attributes['N'] == 'SerializationVersion' }.first
end
|