class Vpsb::Tasks::DropletSshKeys
Attributes
core[R]
Public Class Methods
new(core)
click to toggle source
# File lib/vpsb/tasks/droplet_ssh_keys.rb, line 7 def initialize(core) @core = core end
Public Instance Methods
call()
click to toggle source
# File lib/vpsb/tasks/droplet_ssh_keys.rb, line 13 def call prepare core.get(:ssh_helper).generate_ssh(core.get(:do_ssh_path)) puts core.get(:ssh_helper).pub_key(core.get(:do_ssh_path)) ask { puts "Visit https://cloud.digitalocean.com/ssh_keys and add add the key above. Press Enter to continue" } end