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.
35 36 37 |
# File 'lib/sshkit/backends/netssh.rb', line 35 def initialize self.transfer_method = :scp end |
Instance Attribute Details
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
31 32 33 |
# File 'lib/sshkit/backends/netssh.rb', line 31 def connection_timeout @connection_timeout end |
#pty ⇒ Object
Returns the value of attribute pty.
31 32 33 |
# File 'lib/sshkit/backends/netssh.rb', line 31 def pty @pty end |
#ssh_options ⇒ Object
45 46 47 |
# File 'lib/sshkit/backends/netssh.rb', line 45 def .merge(@ssh_options ||= {}) end |
#transfer_method ⇒ Object
Returns the value of attribute transfer_method.
32 33 34 |
# File 'lib/sshkit/backends/netssh.rb', line 32 def transfer_method @transfer_method end |