Method: CloudRunner::Ssh#initialize

Defined in:
lib/cloud_runner/ssh.rb

#initialize(host, user, ssh_key) ⇒ Ssh

Returns a new instance of Ssh.



13
14
15
16
17
# File 'lib/cloud_runner/ssh.rb', line 13

def initialize(host, user, ssh_key)
  raise "Host must be specified" unless @host = host
  raise "User must be specified" unless @user = user
  raise "Key must be specified"  unless @ssh_key = ssh_key
end