lib/octobat/api_operations/delete.rb in octobat-0.0.12 vs lib/octobat/api_operations/delete.rb in octobat-2.0.0
- old
+ new
@@ -1,9 +1,10 @@
module Octobat
module APIOperations
module Delete
def delete(params = {}, opts={})
api_key, headers = Util.parse_opts(opts)
+
response, api_key = Octobat.request(:delete, url, api_key || @api_key, params, headers)
refresh_from(response, api_key)
end
end
end