Class: Herdis::Handlers::RemoveShepherd

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

Instance Method Summary collapse

Methods included from Common

included

Instance Method Details

#response(env) ⇒ Object



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

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