Class: Holoserve::Interface::Control::State::Delete

Inherits:
Goliath::API
  • Object
show all
Includes:
Helper
Defined in:
lib/holoserve/interface/control/state.rb

Instance Method Summary collapse

Methods included from Helper

#bad_request, #bucket, #history, #not_found, #ok, #pairs, #respond_json, #respond_json_acknowledgement, #state

Instance Method Details

#response(environment) ⇒ Object



31
32
33
34
35
# File 'lib/holoserve/interface/control/state.rb', line 31

def response(environment)
  state.clear
  logger.info "state cleared"
  respond_json_acknowledgement
end