Class: Fog::SSH::Mock
- Inherits:
-
Object
- Object
- Fog::SSH::Mock
- Defined in:
- lib/fog/ssh.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(address, username, options) ⇒ Mock
constructor
A new instance of Mock.
- #run(commands) ⇒ Object
Constructor Details
#initialize(address, username, options) ⇒ Mock
Returns a new instance of Mock.
27 28 29 30 31 |
# File 'lib/fog/ssh.rb', line 27 def initialize(address, username, ) @address = address @username = username @options = end |
Class Method Details
.data ⇒ Object
21 22 23 24 25 |
# File 'lib/fog/ssh.rb', line 21 def self.data @data ||= Hash.new do |hash, key| hash[key] = {} end end |
Instance Method Details
#run(commands) ⇒ Object
33 34 35 |
# File 'lib/fog/ssh.rb', line 33 def run(commands) Fog::Mock.not_implemented end |