Module: Fog::SSH
- Defined in:
- lib/rackspace-fog/core/ssh.rb
Defined Under Namespace
Classes: Mock, Real, Result
Class Method Summary
collapse
Class Method Details
.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
|