Method: FileTransfer.test_connection

Defined in:
lib/file_transfer.rb

.test_connection(type, options) ⇒ Object



14
15
16
17
18
# File 'lib/file_transfer.rb', line 14

def self.test_connection(type, options)
  handler = FileTransferHandler.new type, options
  handler.test_connection
  handler.close
end