Module: Fog::SCP

Defined in:
lib/fog/core/scp.rb

Defined Under Namespace

Classes: Mock, Real

Class Method Summary collapse

Class Method Details

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



3
4
5
6
7
8
9
# File 'lib/fog/core/scp.rb', line 3

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