class Quickftp::Driver
Public Class Methods
new(dir)
click to toggle source
# File lib/quickftp/driver.rb, line 3 def initialize(dir) @dir = dir end
Public Instance Methods
authenticate(user, password)
click to toggle source
# File lib/quickftp/driver.rb, line 7 def authenticate(user, password) true end
file_system(user)
click to toggle source
# File lib/quickftp/driver.rb, line 11 def file_system(user) Ftpd::DiskFileSystem.new(@dir) end