Class: Fog::SSH::Mock

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address, username, options) ⇒ Mock

Returns a new instance of Mock.



20
21
22
23
24
# File 'lib/fog/core/ssh.rb', line 20

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

Class Method Details

.dataObject



14
15
16
17
18
# File 'lib/fog/core/ssh.rb', line 14

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

Instance Method Details

#run(commands) ⇒ Object



26
27
28
# File 'lib/fog/core/ssh.rb', line 26

def run(commands)
  Fog::Mock.not_implemented
end