Class: Taketo::Actions::Login
- Inherits:
-
BaseAction
- Object
- BaseAction
- Taketo::Actions::Login
- Defined in:
- lib/taketo/actions/login.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from Taketo::Actions::BaseAction
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 |
# File 'lib/taketo/actions/login.rb', line 9 def run server = ServerResolver.new(config, destination_path).resolve server_command = remote_command(server) command_to_execute = Commands[server.ssh_command].new(server).render(server_command.render(server, )) execute(command_to_execute) end |