Class: Skewer::ErsatzSSHResult
- Inherits:
-
Object
- Object
- Skewer::ErsatzSSHResult
- Defined in:
- lib/ersatz/ssh_result.rb
Overview
fakes a fog SSH result
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#status ⇒ Object
Returns the value of attribute status.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(command, stdout, status) ⇒ ErsatzSSHResult
constructor
A new instance of ErsatzSSHResult.
Constructor Details
#initialize(command, stdout, status) ⇒ ErsatzSSHResult
Returns a new instance of ErsatzSSHResult.
8 9 10 11 12 13 |
# File 'lib/ersatz/ssh_result.rb', line 8 def initialize(command, stdout, status) @command = command @stdout = stdout @status = status Skewer.logger.debug self.stdout end |
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
6 7 8 |
# File 'lib/ersatz/ssh_result.rb', line 6 def command @command end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/ersatz/ssh_result.rb', line 6 def status @status end |
#stdout ⇒ Object
Returns the value of attribute stdout.
6 7 8 |
# File 'lib/ersatz/ssh_result.rb', line 6 def stdout @stdout end |