Module: Fog::SCP
- Defined in:
- lib/fog/core/scp.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/scp.rb', line 4 def self.new(address, username, = {}) if Fog.mocking? Fog::SCP::Mock.new(address, username, ) else Fog::SCP::Real.new(address, username, ) end end |
.reset_data(keys = Mock.data.keys) ⇒ Object
12 13 14 |
# File 'lib/fog/core/scp.rb', line 12 def self.reset_data(keys=Mock.data.keys) Mock.reset_data(keys) end |