diff options
author | Azul <azul@riseup.net> | 2016-07-02 13:16:35 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-07-02 13:26:43 +0200 |
commit | e81c1a8cf274a13903be00c74c975c0cb2c20995 (patch) | |
tree | 5da2e0711420fde574d1091dcbdfcccaddf52256 /lib/server.rb | |
parent | fb2d7e6f8f1fceefbc8964d34369a867eb8f25bb (diff) |
refactor: turn EmailAddress into a class, cleanup
Diffstat (limited to 'lib/server.rb')
-rw-r--r-- | lib/server.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/server.rb b/lib/server.rb deleted file mode 100644 index 4e7cf51..0000000 --- a/lib/server.rb +++ /dev/null @@ -1,19 +0,0 @@ -class Server - - def process_http_request - lookup.respond_with(Responder) - end - - def lookup - LookupFactory.lookup_for(nick) - end - - def nick - Nickname.new(request.address) - end - - def request - Request.new(params) - end - -end |