Class: Kamal::Cli::Proxy::Reboot
- Inherits:
-
Object
- Object
- Kamal::Cli::Proxy::Reboot
- Defined in:
- lib/kamal/cli/proxy/reboot.rb
Constant Summary collapse
- READY_TIMEOUT =
30
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#sshkit ⇒ Object
readonly
Returns the value of attribute sshkit.
Instance Method Summary collapse
-
#initialize(host, sshkit) ⇒ Reboot
constructor
A new instance of Reboot.
- #run ⇒ Object
Constructor Details
#initialize(host, sshkit) ⇒ Reboot
Returns a new instance of Reboot.
7 8 9 10 |
# File 'lib/kamal/cli/proxy/reboot.rb', line 7 def initialize(host, sshkit) @host = host @sshkit = sshkit end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
4 5 6 |
# File 'lib/kamal/cli/proxy/reboot.rb', line 4 def host @host end |
#sshkit ⇒ Object (readonly)
Returns the value of attribute sshkit.
4 5 6 |
# File 'lib/kamal/cli/proxy/reboot.rb', line 4 def sshkit @sshkit end |