Class: FakeFtp::ServerCommands::User
- Inherits:
-
Object
- Object
- FakeFtp::ServerCommands::User
- Defined in:
- lib/fake_ftp/server_commands/user.rb
Instance Method Summary collapse
Instance Method Details
#run(_, name) ⇒ Object
6 7 8 9 |
# File 'lib/fake_ftp/server_commands/user.rb', line 6 def run(_, name, *) return '230 logged in' if name.to_s == 'anonymous' '331 send your password' end |