Class: Herdis::Handlers::JoinCluster

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

def response(env)
  Herdis::Plugins::ShepherdConnection.shepherd.join_cluster(env['params']['url'])
  [204, {}, ""]
end