Class: Fog::SCP::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/core/scp.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address, username, options) ⇒ Mock

Returns a new instance of Mock.



24
25
26
27
28
# File 'lib/fog/core/scp.rb', line 24

def initialize(address, username, options)
  @address  = address
  @username = username
  @options  = options
end

Class Method Details

.dataObject



18
19
20
21
22
# File 'lib/fog/core/scp.rb', line 18

def self.data
  @data ||= Hash.new do |hash, key|
    hash[key] = {}
  end
end

Instance Method Details

#upload(local_path, remote_path) ⇒ Object



30
31
32
# File 'lib/fog/core/scp.rb', line 30

def upload(local_path, remote_path)
  Fog::Mock.not_implemented
end