lib/kek/keys.rb in kek-1.0.0 vs lib/kek/keys.rb in kek-1.1.0

- old
+ new

@@ -6,10 +6,10 @@ def get(key) @client.get("/v2/keys/#{key}").body.dig(:node, :value) end - def delete(key) - @client.delete("/v2/keys/#{key}").body[:action] == "delete" + def delete(key, opts = {}) + @client.delete("/v2/keys/#{key}", opts).body[:action] == "delete" end end