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
6 7 8 9 10 11 12 |
# File 'lib/fog/core/ssh.rb', line 6 def self.new(address, username, = {}) if Fog.mocking? Fog::SSH::Mock.new(address, username, ) else Fog::SSH::Real.new(address, username, ) end end |