class FTPMVC::Ftpd::Driver
Public Class Methods
new(application)
click to toggle source
# File lib/ftpmvc/ftpd/driver.rb, line 6 def initialize(application) @application = application end
Public Instance Methods
authenticate(username, password)
click to toggle source
# File lib/ftpmvc/ftpd/driver.rb, line 10 def authenticate(username, password) @application.authenticate(username, password) end
file_system(username)
click to toggle source
# File lib/ftpmvc/ftpd/driver.rb, line 14 def file_system(username) FileSystem.new(@application) end