Class: PSRP::WSMV::CreatePipeline

Inherits:
Base
  • Object
show all
Defined in:
lib/wsmv/commands/create_pipeline.rb

Overview

WSMV message to execute a command via psrp

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#build, #namespaces

Constructor Details

#initialize(session_opts, shell_id, pipeline) ⇒ CreatePipeline

Returns a new instance of CreatePipeline.



26
27
28
29
30
# File 'lib/wsmv/commands/create_pipeline.rb', line 26

def initialize(session_opts, shell_id, pipeline)
  @session_opts = session_opts
  @shell_id = shell_id
  @pipeline = pipeline
end

Instance Attribute Details

#shell_idObject

Returns the value of attribute shell_id.



24
25
26
# File 'lib/wsmv/commands/create_pipeline.rb', line 24

def shell_id
  @shell_id
end