Class: WinRM::WSMV::SendData
Overview
Subclasses base, sends additional data to WinRM
Constant Summary
Constants included from Header
Header::RESOURCE_URI_CMD, Header::RESOURCE_URI_POWERSHELL
Constants included from SOAP
WinRM::WSMV::SOAP::NS_ADDRESSING, WinRM::WSMV::SOAP::NS_CIMBINDING, WinRM::WSMV::SOAP::NS_ENUM, WinRM::WSMV::SOAP::NS_SCHEMA_INST, WinRM::WSMV::SOAP::NS_SOAP_ENV, WinRM::WSMV::SOAP::NS_TRANSFER, WinRM::WSMV::SOAP::NS_WIN_SHELL, WinRM::WSMV::SOAP::NS_WSMAN_CONF, WinRM::WSMV::SOAP::NS_WSMAN_DMTF, WinRM::WSMV::SOAP::NS_WSMAN_FAULT, WinRM::WSMV::SOAP::NS_WSMAN_MSFT
Instance Attribute Summary collapse
-
#command_id ⇒ Object
Returns the value of attribute command_id.
-
#fragment ⇒ Object
Returns the value of attribute fragment.
-
#shell_id ⇒ Object
Returns the value of attribute shell_id.
Instance Method Summary collapse
-
#initialize(session_opts, shell_id, command_id, fragment) ⇒ SendData
constructor
A new instance of SendData.
Methods inherited from Base
Methods included from Header
#action_command, #action_delete, #action_enumerate, #action_enumerate_pull, #action_get, #action_receive, #action_send, #action_signal, #merge_headers, #resource_uri_cmd, #resource_uri_shell, #resource_uri_wmi, #selector_shell_id, #shared_headers
Methods included from SOAP
Constructor Details
#initialize(session_opts, shell_id, command_id, fragment) ⇒ SendData
Returns a new instance of SendData.
23 24 25 26 27 28 |
# File 'lib/winrm/wsmv/send_data.rb', line 23 def initialize(session_opts, shell_id, command_id, fragment) @session_opts = session_opts @shell_id = shell_id @command_id = command_id @fragment = fragment end |
Instance Attribute Details
#command_id ⇒ Object
Returns the value of attribute command_id.
21 22 23 |
# File 'lib/winrm/wsmv/send_data.rb', line 21 def command_id @command_id end |
#fragment ⇒ Object
Returns the value of attribute fragment.
21 22 23 |
# File 'lib/winrm/wsmv/send_data.rb', line 21 def fragment @fragment end |
#shell_id ⇒ Object
Returns the value of attribute shell_id.
21 22 23 |
# File 'lib/winrm/wsmv/send_data.rb', line 21 def shell_id @shell_id end |