Class: TSM::Dsmadmc

Inherits:
Command show all
Defined in:
lib/tsm.rb

Instance Attribute Summary

Attributes inherited from Command

#app, #cmd, #header, #host, #path, #prompt, #pty, #timeout

Instance Method Summary collapse

Methods inherited from Command

#close, #closed?, #command, #open, #server

Constructor Details

#initialize(id, password, opts = {}, &block) ⇒ Dsmadmc

Returns a new instance of Dsmadmc.



21
22
23
24
25
26
27
28
# File 'lib/tsm.rb', line 21

def initialize(id,password,opts = {},&block)
	opts[:id] = id
	opts[:pa] = password

	@path = ['/opt/tivoli/tsm/client/ba/bin','/usr/tivoli/tsm/client/ba/bin']

	super opts,&block
end