Class: Herdis::Handlers::ShutdownCluster

Inherits:
Goliath::API
  • Object
show all
Includes:
Common
Defined in:
lib/herdis/handlers/shutdown_cluster.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_cluster.rb', line 9

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