Class: Tenderloin::Config::SSHConfig

Inherits:
Base
  • Object
show all
Defined in:
lib/tenderloin/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#[], #instance_variables_hash, #to_json

Instance Attribute Details

#hostObject

Returns the value of attribute host.



59
60
61
# File 'lib/tenderloin/config.rb', line 59

def host
  @host
end

#keyObject

Returns the value of attribute key.



62
63
64
# File 'lib/tenderloin/config.rb', line 62

def key
  @key
end

#max_triesObject

Returns the value of attribute max_tries.



60
61
62
# File 'lib/tenderloin/config.rb', line 60

def max_tries
  @max_tries
end

#passwordObject

Returns the value of attribute password.



58
59
60
# File 'lib/tenderloin/config.rb', line 58

def password
  @password
end

#portObject

Returns the value of attribute port.



69
70
71
# File 'lib/tenderloin/config.rb', line 69

def port
  @port
end

#timeoutObject

Returns the value of attribute timeout.



61
62
63
# File 'lib/tenderloin/config.rb', line 61

def timeout
  @timeout
end

#usernameObject

Returns the value of attribute username.



57
58
59
# File 'lib/tenderloin/config.rb', line 57

def username
  @username
end

Instance Method Details

#keysObject



66
67
68
# File 'lib/tenderloin/config.rb', line 66

def keys
  @keys || (key ? [key] : nil)
end

#keys=(keys) ⇒ Object



63
64
65
# File 'lib/tenderloin/config.rb', line 63

def keys=(keys)
  @keys=keys
end