Class: Holoserve::Interface::Control::History::Delete

Inherits:
Goliath::API
  • Object
show all
Includes:
Holoserve::Interface::Control::Helper
Defined in:
lib/holoserve/interface/control/history.rb

Instance Method Summary collapse

Methods included from Holoserve::Interface::Control::Helper

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

Instance Method Details

#response(environment) ⇒ Object



17
18
19
20
# File 'lib/holoserve/interface/control/history.rb', line 17

def response(environment)
  history.clear
  respond_json_acknowledgement
end