Method: Bosh::Agent::Message::Ssh.process

Defined in:
lib/bosh_agent/message/ssh.rb

.process(args) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/bosh_agent/message/ssh.rb', line 8

def self.process(args)
  ssh = self.new(args)
  case ssh.command
  when "setup"
    ssh.setup
  when "cleanup"
    ssh.cleanup
  end
end