Class: Daytona::SessionCommandLogsResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/daytona/common/process.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output: nil, stdout: nil, stderr: nil) ⇒ SessionCommandLogsResponse

Initialize a new SessionCommandLogsResponse

Parameters:

  • output (String, nil) (defaults to: nil)

    The combined output from the command

  • stdout (String, nil) (defaults to: nil)

    The stdout from the command

  • stderr (String, nil) (defaults to: nil)

    The stderr from the command



140
141
142
143
144
# File 'lib/daytona/common/process.rb', line 140

def initialize(output: nil, stdout: nil, stderr: nil)
  @output = output
  @stdout = stdout
  @stderr = stderr
end

Instance Attribute Details

#outputString? (readonly)

Returns The combined output from the command.

Returns:

  • (String, nil)

    The combined output from the command



127
128
129
# File 'lib/daytona/common/process.rb', line 127

def output
  @output
end

#stderrString? (readonly)

Returns The stderr from the command.

Returns:

  • (String, nil)

    The stderr from the command



133
134
135
# File 'lib/daytona/common/process.rb', line 133

def stderr
  @stderr
end

#stdoutString? (readonly)

Returns The stdout from the command.

Returns:

  • (String, nil)

    The stdout from the command



130
131
132
# File 'lib/daytona/common/process.rb', line 130

def stdout
  @stdout
end