Method: Fog::SSH.new

Defined in:
lib/rackspace-fog/core/ssh.rb

.new(address, username, options = {}) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/rackspace-fog/core/ssh.rb', line 6

def self.new(address, username, options = {})
  if Fog.mocking?
    Fog::SSH::Mock.new(address, username, options)
  else
    Fog::SSH::Real.new(address, username, options)
  end
end