Method: WinRM::PSRP::MessageData.parse
- Defined in:
- lib/winrm/psrp/message_data.rb
.parse(message) ⇒ Object
29 30 31 32 33 |
# File 'lib/winrm/psrp/message_data.rb', line 29 def self.parse() type_key = WinRM::PSRP::Message::MESSAGE_TYPES.key(.type) type = camelize(type_key.to_s).to_sym const_get(type).new(.data) if MessageData.constants.include?(type) end |