lib/handler.rb in m2r-0.0.2 vs lib/handler.rb in m2r-0.0.3
- old
+ new
@@ -14,10 +14,10 @@
def on_request(request, *args)
end
# Override this to return a custom response
def process(request, *args)
- puts "PROCES REQUEST: #{request}"
+ puts "PROCESS REQUEST: #{request}"
#raise NoHandlerDefined, "define process_request in your subclass"
return request.inspect
end
# Callback for when the server disconnects