Class: Herdis::Handlers::Shutdown

Inherits:
Goliath::API
  • Object
show all
Includes:
Common
Defined in:
lib/herdis/handlers/shutdown.rb

Instance Method Summary collapse

Methods included from Common

included

Instance Method Details

#response(env) ⇒ Object



9
10
11
12
# File 'lib/herdis/handlers/shutdown.rb', line 9

def response(env)
  Herdis::Plugins::ShepherdConnection.shutdown
  [200, {}, ""]
end