Class: Droonga::Plugins::Catalog::FetchHandler

Inherits:
Handler
  • Object
show all
Defined in:
lib/droonga/plugins/catalog.rb

Instance Attribute Summary

Attributes inherited from Handler

#label, #loop, #messenger

Instance Method Summary collapse

Methods inherited from Handler

action, #initialize, message

Methods included from Droonga::Pluggable

#find_sub_classes, #options

Constructor Details

This class inherits a constructor from Droonga::Handler

Instance Method Details

#handle(message) ⇒ Object



28
29
30
# File 'lib/droonga/plugins/catalog.rb', line 28

def handle(message)
  JSON.parse(Path.catalog.read)
end