lib/xftp/client.rb in xftp-0.4.4 vs lib/xftp/client.rb in xftp-0.5.0
- old
+ new
@@ -5,10 +5,10 @@
# The XFTP entry point
# @api private
class Client
SCHEME_ADAPTERS = {
ftp: XFTP::Session::FTP,
- ftps: XFTP::Session::SFTP
+ sftp: XFTP::Session::SFTP
}
def self.start(url, settings, &callback)
new(SCHEME_ADAPTERS).call(url, settings, &callback)
end