Module: Fog::SSH
- Defined in:
- lib/fog/core/ssh.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.new(address, username, options = {}) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/fog/core/ssh.rb', line 4 def self.new(address, username, = {}) if Fog.mocking? Fog::SSH::Mock.new(address, username, ) else Fog::SSH::Real.new(address, username, ) end end |