Class: Daytona::SessionExecuteRequest
- Inherits:
-
Object
- Object
- Daytona::SessionExecuteRequest
- Defined in:
- lib/daytona/common/process.rb
Instance Attribute Summary collapse
-
#command ⇒ String
The command to execute.
-
#run_async ⇒ Boolean
Whether to execute the command asynchronously.
Instance Method Summary collapse
-
#initialize(command:, run_async: false) ⇒ SessionExecuteRequest
constructor
Initialize a new SessionExecuteRequest.
Constructor Details
#initialize(command:, run_async: false) ⇒ SessionExecuteRequest
Initialize a new SessionExecuteRequest
76 77 78 79 |
# File 'lib/daytona/common/process.rb', line 76 def initialize(command:, run_async: false) @command = command @run_async = run_async end |
Instance Attribute Details
#command ⇒ String
Returns The command to execute.
67 68 69 |
# File 'lib/daytona/common/process.rb', line 67 def command @command end |
#run_async ⇒ Boolean
Returns Whether to execute the command asynchronously.
70 71 72 |
# File 'lib/daytona/common/process.rb', line 70 def run_async @run_async end |