Classes: Mock, Real
4 5 6 7 8 9 10
# File 'lib/fog/core/scp.rb', line 4 def self.new(address, username, options = {}) if Fog.mocking? Fog::SCP::Mock.new(address, username, options) else Fog::SCP::Real.new(address, username, options) end end