Class: Tenderloin::Config::SSHConfig
- Defined in:
- lib/tenderloin/config.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#key ⇒ Object
Returns the value of attribute key.
-
#max_tries ⇒ Object
Returns the value of attribute max_tries.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Methods inherited from Base
#[], #instance_variables_hash, #to_json
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
59 60 61 |
# File 'lib/tenderloin/config.rb', line 59 def host @host end |
#key ⇒ Object
Returns the value of attribute key.
62 63 64 |
# File 'lib/tenderloin/config.rb', line 62 def key @key end |
#max_tries ⇒ Object
Returns the value of attribute max_tries.
60 61 62 |
# File 'lib/tenderloin/config.rb', line 60 def max_tries @max_tries end |
#password ⇒ Object
Returns the value of attribute password.
58 59 60 |
# File 'lib/tenderloin/config.rb', line 58 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
69 70 71 |
# File 'lib/tenderloin/config.rb', line 69 def port @port end |
#timeout ⇒ Object
Returns the value of attribute timeout.
61 62 63 |
# File 'lib/tenderloin/config.rb', line 61 def timeout @timeout end |
#username ⇒ Object
Returns the value of attribute username.
57 58 59 |
# File 'lib/tenderloin/config.rb', line 57 def username @username end |
Instance Method Details
#keys ⇒ Object
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 |