Class: Droonga::AddHandler

Inherits:
HandlerPlugin show all
Defined in:
lib/droonga/plugin/handler/add.rb

Instance Method Summary collapse

Methods inherited from HandlerPlugin

#emit, #envelope, #initialize, #post, #prefer_synchronous?

Methods included from PluginRegisterable

#command, extended, #inherited, #method_name, #processable?, #repository

Methods inherited from Plugin

#initialize, #process, #processable?, #shutdown, #start

Constructor Details

This class inherits a constructor from Droonga::HandlerPlugin

Instance Method Details

#add(request) ⇒ Object



27
28
29
30
# File 'lib/droonga/plugin/handler/add.rb', line 27

def add(request)
  outputs = process_add(request)
  emit(outputs)
end