Class: Fog::SCP::Mock
- Inherits:
-
Object
- Object
- Fog::SCP::Mock
- Defined in:
- lib/fog/core/scp.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(address, username, options) ⇒ Mock
constructor
A new instance of Mock.
- #upload(local_path, remote_path, upload_options = {}) ⇒ Object
Constructor Details
#initialize(address, username, options) ⇒ Mock
Returns a new instance of Mock.
20 21 22 23 24 |
# File 'lib/fog/core/scp.rb', line 20 def initialize(address, username, ) @address = address @username = username @options = end |
Class Method Details
.data ⇒ Object
14 15 16 17 18 |
# File 'lib/fog/core/scp.rb', line 14 def self.data @data ||= Hash.new do |hash, key| hash[key] = {} end end |
Instance Method Details
#upload(local_path, remote_path, upload_options = {}) ⇒ Object
26 27 28 |
# File 'lib/fog/core/scp.rb', line 26 def upload(local_path, remote_path, = {}) Fog::Mock.not_implemented end |