Class: Rucoa::Handlers::ShutdownHandler

Inherits:
Base
  • Object
show all
Defined in:
lib/rucoa/handlers/shutdown_handler.rb

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::Base

Instance Method Details

#callObject



6
7
8
9
# File 'lib/rucoa/handlers/shutdown_handler.rb', line 6

def call
  server.shutting_down = true
  respond(nil)
end