Method: Orchestrate::Client#delete
- Defined in:
- lib/orchestrate/client.rb
permalink #delete(collection, key, ref = nil) ⇒ Object
Note:
previous versions of the values at this key are still available via #list_refs and #get.
217 218 219 220 221 |
# File 'lib/orchestrate/client.rb', line 217 def delete(collection, key, ref=nil) headers = {} headers['If-Match'] = API::Helpers.format_ref(ref) if ref send_request :delete, [collection, key], { headers: headers } end |