class Vpsb::Resources::HasDoAccount

Public Instance Methods

call(core) click to toggle source
# File lib/vpsb/resources/has_do_account.rb, line 8
def call(core)
  ask_to_confirm("Do you have account on DigitalOcean?") do |has_account|
    unless has_account
      ask { puts 'Create new account via link: https://www.digitalocean.com/?refcode=71281f14ac3c. Press Enter when ready to continue' }
    end
  end

  true
end