Class: IpcAuthpipe::Handler::Base
- Inherits:
-
Object
- Object
- IpcAuthpipe::Handler::Base
- Defined in:
- lib/ipcauthpipe/handler.rb
Overview
A basic class that outlines handlers’ API. Right now it features only the single process method that accepts command’s parameters as an argument and goes on with processing the specific handler’s command.
Instance Method Summary collapse
-
#process(request) ⇒ Object
Every handler access command’s parameters as a string argument and should return as a string it’s answer that will be returned back (to STDOUT generally).
Instance Method Details
#process(request) ⇒ Object
Every handler access command’s parameters as a string argument and should return as a string it’s answer that will be returned back (to STDOUT generally)
11 12 13 |
# File 'lib/ipcauthpipe/handler.rb', line 11 def process(request) raise NotImplementedError, 'request processing should be overriden by concrete handlers' end |