Class: SSHKit::Backend::Netssh::Configuration
- Inherits:
-
Object
- Object
- SSHKit::Backend::Netssh::Configuration
- Defined in:
- lib/sshkit/backends/netssh.rb
Instance Attribute Summary collapse
-
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
-
#pty ⇒ Object
Returns the value of attribute pty.
- #ssh_options ⇒ Object
-
#transfer_method ⇒ Object
Returns the value of attribute transfer_method.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
36 37 38 |
# File 'lib/sshkit/backends/netssh.rb', line 36 def initialize self.transfer_method = :scp end |
Instance Attribute Details
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
32 33 34 |
# File 'lib/sshkit/backends/netssh.rb', line 32 def connection_timeout @connection_timeout end |
#pty ⇒ Object
Returns the value of attribute pty.
32 33 34 |
# File 'lib/sshkit/backends/netssh.rb', line 32 def pty @pty end |
#ssh_options ⇒ Object
46 47 48 |
# File 'lib/sshkit/backends/netssh.rb', line 46 def .merge(@ssh_options ||= {}) end |
#transfer_method ⇒ Object
Returns the value of attribute transfer_method.
33 34 35 |
# File 'lib/sshkit/backends/netssh.rb', line 33 def transfer_method @transfer_method end |