Class: Specwrk::Web::Endpoints::Shutdown
- Defined in:
- lib/specwrk/web/endpoints/shutdown.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Specwrk::Web::Endpoints::Base
Instance Method Details
#with_response ⇒ Object
9 10 11 12 13 |
# File 'lib/specwrk/web/endpoints/shutdown.rb', line 9 def with_response interupt! if ENV["SPECWRK_SRV_SINGLE_RUN"] [200, {"content-type" => "text/plain"}, ["✌️"]] end |