Method: Orchestrate::KeyValue#purge!

Defined in:
lib/orchestrate/key_value.rb

#purge!Object

Deletes a KeyValue item and its entire Ref history from Orchestrate using 'If-Match' with the current ref.

Raises:



419
420
421
422
423
424
# File 'lib/orchestrate/key_value.rb', line 419

def purge!
  response = perform(:purge, ref)
  @ref = nil
  @last_request_time = response.request_time
  true
end