class Vpsb::Tasks::DropletSshUpdateConfig
Attributes
core[R]
Public Class Methods
new(core)
click to toggle source
# File lib/vpsb/tasks/droplet_ssh_update_config.rb, line 7 def initialize(core) @core = core end
Public Instance Methods
call()
click to toggle source
# File lib/vpsb/tasks/droplet_ssh_update_config.rb, line 13 def call prepare core.get(:ssh_helper).add_host_to_config(core.get(:do_host_ip), core.get(:do_ssh_pub_path), 'root') end