Method: Net::SFTP::Protocol::Base#initialize
- Defined in:
- lib/net/sftp/protocol/base.rb
#initialize(session) ⇒ Base
Create a new instance of a protocol driver, servicing the given session.
18 19 20 21 22 |
# File 'lib/net/sftp/protocol/base.rb', line 18 def initialize(session) @session = session self.logger = session.logger @request_id_counter = -1 end |